summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1999-01-28 19:40:05 (GMT)
committerBarry Warsaw <barry@python.org>1999-01-28 19:40:05 (GMT)
commit30aa1e7d3123d42d2d2c9f20a66c980004834633 (patch)
treead36478ee08ce31027116704e3815b3ac68bf7bf /Modules
parent703b70e26028c6ed44d6a4e9bacfc8bfd39c35fc (diff)
downloadcpython-30aa1e7d3123d42d2d2c9f20a66c980004834633.zip
cpython-30aa1e7d3123d42d2d2c9f20a66c980004834633.tar.gz
cpython-30aa1e7d3123d42d2d2c9f20a66c980004834633.tar.bz2
PyInit_zlib(): Plug a small memory leak. Jeremy is looking into the
more severe ones.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/zlibmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c
index 9402e99..dd5804c 100644
--- 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);
}