projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
703b70e
)
PyInit_zlib(): Plug a small memory leak. Jeremy is looking into the
author
Barry Warsaw
<barry@python.org>
Thu, 28 Jan 1999 19:40:05 +0000
(19:40 +0000)
committer
Barry Warsaw
<barry@python.org>
Thu, 28 Jan 1999 19:40:05 +0000
(19:40 +0000)
more severe ones.
Modules/zlibmodule.c
patch
|
blob
|
history
diff --git
a/Modules/zlibmodule.c
b/Modules/zlibmodule.c
index 9402e99fcb30af016f60fac1f8012d6003c0f556..dd5804cdc29a38f8ec077889c390833a1bfce21a 100644
(file)
--- a/
Modules/zlibmodule.c
+++ b/
Modules/zlibmodule.c
@@
-834,4
+834,5
@@
PyInit_zlib()
ver = PyString_FromString(ZLIB_VERSION);
PyDict_SetItemString(d, "ZLIB_VERSION", ver);
+ Py_DECREF(ver);
}