# HG changeset patch # User Benoit Boissinot # Date 2008-10-19 18:17:06 # Node ID 5d8626b2c1db59b70edf92010c8dcc34053f3ffd # Parent 4da87407b8453675ace5b8b5e43020dd7fbcbfcb parsers.c: do not try to untrack after a failure diff --git a/mercurial/parsers.c b/mercurial/parsers.c --- a/mercurial/parsers.c +++ b/mercurial/parsers.c @@ -202,9 +202,9 @@ static PyObject *parse_dirstate(PyObject } 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) {