[issue3651] eval() leaks 1 reference every time

Amaury Forgeot d'Arc report at bugs.python.org
Sun Aug 24 11:18:36 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

The main cause of these leaks is each time PyArg_ParseTuple("s#") is
passed a bytes object.
If FillInfo() increfs the given object, every object should have a
bf_releasebuffer that decrefs it.

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


More information about the Python-bugs-list mailing list