Skip to content
Snippets Groups Projects
Unverified Commit 9883ca49 authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub
Browse files

Fix a leak in _PyImport_LoadDynamicModuleWithSpec() after failing PySys_Audit() (GH-28862)

parent 15188b11
Branches
Tags
No related merge requests found
......@@ -121,7 +121,7 @@ _PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *fp)
if (PySys_Audit("import", "OOOOO", name_unicode, path,
Py_None, Py_None, Py_None) < 0) {
return NULL;
goto error;
}
#ifdef MS_WINDOWS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment