bpo-40910: PyConfig_Clear() clears _orig_argv (GH-20886)

bpo-40910, bpo-40953: PyConfig_Clear() clears _orig_argv.
This commit is contained in:
Victor Stinner 2020-06-15 16:27:47 +02:00 committed by GitHub
parent fb61c42361
commit e2d47a0568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -600,6 +600,8 @@ PyConfig_Clear(PyConfig *config)
CLEAR(config->run_module); CLEAR(config->run_module);
CLEAR(config->run_filename); CLEAR(config->run_filename);
CLEAR(config->check_hash_pycs_mode); CLEAR(config->check_hash_pycs_mode);
_PyWideStringList_Clear(&config->_orig_argv);
#undef CLEAR #undef CLEAR
} }