# HG changeset patch # User Benoit Boissinot # Date 1224440226 -7200 # Node ID 5d8626b2c1db59b70edf92010c8dcc34053f3ffd # Parent 4da87407b8453675ace5b8b5e43020dd7fbcbfcb parsers.c: do not try to untrack after a failure diff -r 4da87407b845 -r 5d8626b2c1db mercurial/parsers.c --- a/mercurial/parsers.c Sun Oct 19 20:16:37 2008 +0200 +++ b/mercurial/parsers.c Sun Oct 19 20:17:06 2008 +0200 @@ -202,9 +202,9 @@ } entry = Py_BuildValue("ciii", state, mode, size, mtime); - PyObject_GC_UnTrack(entry); /* don't waste time with this */ if (!entry) goto quit; + PyObject_GC_UnTrack(entry); /* don't waste time with this */ cpos = memchr(cur, 0, flen); if (cpos) {