[issue15895] PyRun_SimpleFileExFlags() can leak a FILE pointer
Jesús Cea Avión
report at bugs.python.org
Mon Sep 10 04:24:50 CEST 2012
Jesús Cea Avión added the comment:
LGTM.
Instead of using a flag variable, could you use something like "if (fp!=NULL) fclose(fp);"?
----------
nosy: +jcea
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15895>
_______________________________________
More information about the Python-bugs-list
mailing list