mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
bpo-46476: Fix memory leak in code objects generated by deepfreeze (GH-30853)
Add _Py_Deepfreeze_Fini() and _PyStaticCode_Dealloc() functions.
This commit is contained in:
parent
ecfacc362d
commit
c7f810b34d
8 changed files with 39 additions and 0 deletions
|
@ -1723,6 +1723,7 @@ finalize_interp_clear(PyThreadState *tstate)
|
|||
_Py_HashRandomization_Fini();
|
||||
_PyArg_Fini();
|
||||
_Py_ClearFileSystemEncoding();
|
||||
_Py_Deepfreeze_Fini();
|
||||
}
|
||||
|
||||
finalize_interp_types(tstate->interp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue