[issue3651] eval() leaks 1 reference every time
Antoine Pitrou
report at bugs.python.org
Sun Aug 24 13:23:50 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
Le dimanche 24 août 2008 à 09:18 +0000, Amaury Forgeot d'Arc a écrit :
> If FillInfo() increfs the given object, every object should have a
> bf_releasebuffer that decrefs it.
There's no need for that, PyBuffer_Release() does the decref.
But PyBuffer_Release() must be used instead of calling bf_releasebuffer
directly.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3651>
_______________________________________
More information about the Python-bugs-list
mailing list