mirror of https://github.com/python/cpython
the PyDict_SetItem does not borrow a reference, so we need to decref
reported by Mark Hammon
This commit is contained in:
parent
815d5b934b
commit
a251ea0680
|
@ -351,6 +351,7 @@ get_inprogress_dict()
|
|||
Py_DECREF(inprogress);
|
||||
return NULL;
|
||||
}
|
||||
Py_DECREF(inprogress);
|
||||
}
|
||||
return inprogress;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue