bpo-46430: Fix memory leak in interned strings of deep-frozen modules (GH-31549)

This commit is contained in:
Kumar Aditya 2022-02-24 22:24:06 +05:30 committed by GitHub
parent 042f31da55
commit 4dc746310b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 21 additions and 6 deletions

View file

@ -14,9 +14,13 @@
#include "Python/frozen_modules/importlib._bootstrap_external.h"
/* End includes */
/* Empty finalizer for deepfrozen modules*/
/* Empty initializer for deepfrozen modules */
void _Py_Deepfreeze_Init(void)
{
}
/* Empty finalizer for deepfrozen modules */
void
_Py_Deepfreeze_Fini(void)
_Py_Deepfreeze_Fini(void)
{
}