mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
PyInit_zlib(): Plug a small memory leak. Jeremy is looking into the
more severe ones.
This commit is contained in:
parent
703b70e260
commit
30aa1e7d31
1 changed files with 1 additions and 0 deletions
|
@ -834,4 +834,5 @@ PyInit_zlib()
|
|||
|
||||
ver = PyString_FromString(ZLIB_VERSION);
|
||||
PyDict_SetItemString(d, "ZLIB_VERSION", ver);
|
||||
Py_DECREF(ver);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue