plug ref leak

This commit is contained in:
Benjamin Peterson 2012-05-24 22:35:39 -07:00
parent 283d0ba45d
commit 209e04c201
1 changed files with 1 additions and 0 deletions

View File

@ -429,6 +429,7 @@ zipimporter_find_loader(PyObject *obj, PyObject *args)
case 2: /* Return (None, [namespace_portion]) */
if (!(result = Py_BuildValue("O[O]", Py_None, namespace_portion)))
goto error;
Py_DECREF(namespace_portion);
return result;
}
/* Can't get here. */