mercurial/parsers.c
changeset 31291 fffd1abb1337
parent 31278 1c97a91a18dc
child 31292 b6ab0adf379d
--- a/mercurial/parsers.c	Thu Mar 09 20:33:29 2017 -0800
+++ b/mercurial/parsers.c	Fri Mar 10 16:53:00 2017 -0500
@@ -604,6 +604,8 @@
 	result = Py_BuildValue("(OO)", nonnset, otherpset);
 	if (result == NULL)
 		goto bail;
+	Py_DECREF(nonnset);
+	Py_DECREF(otherpset);
 	return result;
 bail:
 	Py_XDECREF(nonnset);