[issue13017] pyexpat.c: refleak

Petri Lehtinen report at bugs.python.org
Tue Oct 25 20:04:43 CEST 2011


Petri Lehtinen <petri at digip.org> added the comment:

The patch is not correct: modelobj must not be decref'd, because it has been inserted to the args tuple with the reference-stealing 'N' format. args is later decref'd in function's cleanup code after "finally:".

----------
keywords:  -after moratorium
resolution:  -> rejected
stage: patch review -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13017>
_______________________________________


More information about the Python-bugs-list mailing list