]> granicus.if.org Git - python/commit
Plug a memory leak in Py_InitModule4(): when PyDict_SetItemString() failed,
authorFred Drake <fdrake@acm.org>
Sat, 4 Aug 2001 03:11:25 +0000 (03:11 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 4 Aug 2001 03:11:25 +0000 (03:11 +0000)
commit289898cdbb1d4526ce45e600ed2843a14d1feb0d
tree66a0133f6d889e3c4dba649823f1cad7b40fc749
parent53765753c4b1ede0fd25eadde52e235c62b1c8b7
Plug a memory leak in Py_InitModule4():  when PyDict_SetItemString() failed,
the object being inserted was not being DECREFed.

This closes SF bug #444486.
Python/modsupport.c