mirror of https://github.com/python/cpython
plug ref leak
This commit is contained in:
parent
283d0ba45d
commit
209e04c201
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue