[issue1782] PyModule_AddIntConstant and PyModule_AddStringConstant can leak

Hrvoje Nikšić report at bugs.python.org
Fri Jan 11 09:46:41 CET 2008


Hrvoje Nikšić added the comment:

I agree that a leak would very rarely occur in practice, but since there
is a straightforward fix, why not apply it?  If nothing else, the code
in the core should be an example of writing leak-free Python/C code, and
a fix will also prevent others from wasting time on this in the future.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1782>
__________________________________


More information about the Python-bugs-list mailing list