diff options
author | Barry Warsaw <barry@python.org> | 1999-01-28 19:40:05 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1999-01-28 19:40:05 (GMT) |
commit | 30aa1e7d3123d42d2d2c9f20a66c980004834633 (patch) | |
tree | ad36478ee08ce31027116704e3815b3ac68bf7bf /Modules/zlibmodule.c | |
parent | 703b70e26028c6ed44d6a4e9bacfc8bfd39c35fc (diff) | |
download | cpython-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/zlibmodule.c')
-rw-r--r-- | Modules/zlibmodule.c | 1 |
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); } |