mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
gh-138756: Fix leak of inittab memory in PyInitConfig_Free() (GH-138792)
This commit is contained in:
@@ -3729,6 +3729,7 @@ PyInitConfig_Free(PyInitConfig *config)
|
||||
}
|
||||
|
||||
initconfig_free_config(&config->config);
|
||||
PyMem_RawFree(config->inittab);
|
||||
free(config->err_msg);
|
||||
free(config);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user