##// END OF EJS Templates
dirs: fix leak of iterator in dirs_fromiter...
Augie Fackler -
r23960:bca4b6f1 stable
parent child Browse files
Show More
@@ -175,6 +175,7 b' static int dirs_fromiter(PyObject *dirs,'
175 }
175 }
176
176
177 ret = PyErr_Occurred() ? -1 : 0;
177 ret = PyErr_Occurred() ? -1 : 0;
178 Py_DECREF(iter);
178 Py_XDECREF(item);
179 Py_XDECREF(item);
179 return ret;
180 return ret;
180 }
181 }
General Comments 0
You need to be logged in to leave comments. Login now