bpo-36301, bpo-36333:
* Fix memory allocator used by _PyPathConfig_ClearGlobal():
force the default allocator.
* _PyPreConfig_ReadFromArgv(): free init_ctype_locale memory.
* pymain_main(): call pymain_free() on init error
Co-Authored-By: Stéphane Wirtel <stephane@wirtel.be>
bpo-36301, bpo-36333:
force the default allocator.
Co-Authored-By: Stéphane Wirtel stephane@wirtel.be
https://bugs.python.org/issue36301