##// END OF EJS Templates
parsers: avoid leak of nonnset and otherpset...
Augie Fackler -
r31291:fffd1abb default
parent child Browse files
Show More
@@ -604,6 +604,8 b' static PyObject *nonnormalotherparentent'
604 result = Py_BuildValue("(OO)", nonnset, otherpset);
604 result = Py_BuildValue("(OO)", nonnset, otherpset);
605 if (result == NULL)
605 if (result == NULL)
606 goto bail;
606 goto bail;
607 Py_DECREF(nonnset);
608 Py_DECREF(otherpset);
607 return result;
609 return result;
608 bail:
610 bail:
609 Py_XDECREF(nonnset);
611 Py_XDECREF(nonnset);
General Comments 0
You need to be logged in to leave comments. Login now