mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-46323: Fix double-free issue for borrowed refs (GH-31272)
This commit is contained in:
parent
dd76b3f7d3
commit
0ac5372bf6
1 changed files with 0 additions and 1 deletions
|
@ -189,7 +189,6 @@ static void _CallPythonObject(void *mem,
|
|||
CDataObject *obj = (CDataObject *)_PyObject_CallNoArgs(cnv);
|
||||
if (!obj) {
|
||||
PrintError("create argument %zd:\n", i);
|
||||
Py_DECREF(cnv);
|
||||
goto Done;
|
||||
}
|
||||
if (!CDataObject_Check(obj)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue