mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -351,6 +351,7 @@ get_inprogress_dict()
|
||||||
Py_DECREF(inprogress);
|
Py_DECREF(inprogress);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Py_DECREF(inprogress);
|
||||||
}
|
}
|
||||||
return inprogress;
|
return inprogress;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue