[issue29513] os.scandir(str) reference leak (test_os refleak)

Xiang Zhang report at bugs.python.org
Thu Feb 9 10:04:56 EST 2017


Xiang Zhang added the comment:

> If PyObject_New(ScandirIterator, &ScandirIteratorType) fails the path should be cleaned up by Argument Clinic.

Ohh yes. My stupid. Then both LGTM.

----------
stage: patch review -> commit review

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


More information about the Python-bugs-list mailing list