[issue2222] Memory leak in os.rename?
Hirokazu Yamamoto
report at bugs.python.org
Fri Mar 7 11:16:29 CET 2008
Hirokazu Yamamoto added the comment:
Alexander, I've looked into Python/getargs.c, I think posix_2str code is
fine. (PyArg_ParseTuple with format "et")
After conversion succeeded on path1, addcleanup() adds memory buffer
for path1 into freelist. When error happend on path2, its memory will be
freed on cleanreturn().
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2222>
__________________________________
More information about the Python-bugs-list
mailing list