[issue46476] Not all memory allocated by _Py_Quicken() is released at Python exit

STINNER Victor report at bugs.python.org
Thu Jan 27 08:13:54 EST 2022


STINNER Victor <vstinner at python.org> added the comment:

Thanks Kumar! Your change fixed my issue:

$ ./python -I -X showrefcount -c pass
[-5 refs, 0 blocks]

Python no longer leaks memory at exit: it "leaks" exactly *zero* memory block.

The negative reference count is likely caused by bpo-46449.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46476>
_______________________________________


More information about the Python-bugs-list mailing list