mercurial/dirs.c
branchstable
changeset 23960 bca4b6f126f2
parent 21809 e250b8300e6e
child 24486 1a9efc312700
--- a/mercurial/dirs.c	Tue Jan 27 10:07:04 2015 -0500
+++ b/mercurial/dirs.c	Tue Jan 27 10:10:04 2015 -0500
@@ -175,6 +175,7 @@
 	}
 
 	ret = PyErr_Occurred() ? -1 : 0;
+	Py_DECREF(iter);
 	Py_XDECREF(item);
 	return ret;
 }