Skip to content
Snippets Groups Projects
Commit fa6685ea authored by Bryan O'Sullivan's avatar Bryan O'Sullivan
Browse files

osutil: don't leak on statfiles error

Found using the power of the mighty eyeball.
parent cda2e980
No related branches found
No related tags found
No related merge requests found
......@@ -615,7 +615,7 @@
pypath = PySequence_GetItem(names, i);
if (!pypath)
return NULL;
goto bail;
path = PyString_AsString(pypath);
if (path == NULL) {
Py_DECREF(pypath);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment