Mercurial > cpython-lru_cache-weakref
diff Python/codecs.c @ 18991:360cece76123 legacy-trunk
Plug a memory leak in Py_InitModule4(): when PyDict_SetItemString() failed,
the object being inserted was not being DECREFed.
This closes SF bug #444486.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Sat, 04 Aug 2001 03:11:25 +0000 |
| parents | 25ddd3dc7a7a |
| children | 898304f6da23 416654e27d88 |
