diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-15 14:27:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 14:27:47 (GMT) |
commit | e2d47a0568c6da9229580829917fd6aa702133b3 (patch) | |
tree | bbe1cd0593d8aaa7c8d2d8b7f60e21b5897c9f2b /Python/initconfig.c | |
parent | fb61c42361a666f589c59d4d737c2da6817b992b (diff) | |
download | cpython-e2d47a0568c6da9229580829917fd6aa702133b3.zip cpython-e2d47a0568c6da9229580829917fd6aa702133b3.tar.gz cpython-e2d47a0568c6da9229580829917fd6aa702133b3.tar.bz2 |
bpo-40910: PyConfig_Clear() clears _orig_argv (GH-20886)
bpo-40910, bpo-40953: PyConfig_Clear() clears _orig_argv.
Diffstat (limited to 'Python/initconfig.c')
-rw-r--r-- | Python/initconfig.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c index d8b3df8..9616945 100644 --- a/Python/initconfig.c +++ b/Python/initconfig.c @@ -600,6 +600,8 @@ PyConfig_Clear(PyConfig *config) CLEAR(config->run_module); CLEAR(config->run_filename); CLEAR(config->check_hash_pycs_mode); + + _PyWideStringList_Clear(&config->_orig_argv); #undef CLEAR } |