--- a/mercurial/parsers.c Fri Aug 14 12:31:56 2015 +0900 +++ b/mercurial/parsers.c Fri Aug 14 12:36:41 2015 +0900 @@ -1232,6 +1232,7 @@ if (val == NULL) goto bail; PySet_Add(reachable, val); + Py_DECREF(val); } Py_DECREF(p); }