mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-32604: Fix memory leaks in the new _xxsubinterpreters module. (#5507)
This commit is contained in:
parent
2f79c01493
commit
4e9da0d163
3 changed files with 661 additions and 330 deletions
|
@ -1242,6 +1242,7 @@ _PyCrossInterpreterData_Lookup(PyObject *obj)
|
|||
break;
|
||||
}
|
||||
}
|
||||
Py_DECREF(cls);
|
||||
PyThread_release_lock(_PyRuntime.xidregistry.mutex);
|
||||
return getdata;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue