##// END OF EJS Templates
parsers: don't leak a tuple in pack_dirstate...
Augie Fackler -
r23946:f3e94aa6 stable
parent child Browse files
Show More
@@ -410,7 +410,7 static PyObject *pack_dirstate(PyObject
410 PyObject *packobj = NULL;
410 PyObject *packobj = NULL;
411 PyObject *map, *copymap, *pl, *mtime_unset = NULL;
411 PyObject *map, *copymap, *pl, *mtime_unset = NULL;
412 Py_ssize_t nbytes, pos, l;
412 Py_ssize_t nbytes, pos, l;
413 PyObject *k, *v, *pn;
413 PyObject *k, *v = NULL, *pn;
414 char *p, *s;
414 char *p, *s;
415 double now;
415 double now;
416
416
@@ -527,6 +527,7 static PyObject *pack_dirstate(PyObject
527 bail:
527 bail:
528 Py_XDECREF(mtime_unset);
528 Py_XDECREF(mtime_unset);
529 Py_XDECREF(packobj);
529 Py_XDECREF(packobj);
530 Py_XDECREF(v);
530 return NULL;
531 return NULL;
531 }
532 }
532
533
General Comments 0
You need to be logged in to leave comments. Login now