Kaydet (Commit) 84294487 authored tarafından Barry Warsaw's avatar Barry Warsaw

_PyImport_Fini(): Closed small memory leak when an embedded app calls

Py_Initialize()/Py_Finalize() in a loop.  _PyImport_Filetab needed to
be deallocated.  Partial closure of SF #110681, Jitterbug PR#398.
üst e35360ff
...@@ -132,6 +132,8 @@ _PyImport_Fini(void) ...@@ -132,6 +132,8 @@ _PyImport_Fini(void)
{ {
Py_XDECREF(extensions); Py_XDECREF(extensions);
extensions = NULL; extensions = NULL;
PyMem_DEL(_PyImport_Filetab);
_PyImport_Filetab = NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment