Skip to content

Commit

Permalink
bpo-40910: PyConfig_Clear() clears _orig_argv (pythonGH-20886)
Browse files Browse the repository at this point in the history
bpo-40910, bpo-40953: PyConfig_Clear() clears _orig_argv.
  • Loading branch information
vstinner committed Jun 15, 2020
1 parent fb61c42 commit e2d47a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Python/initconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit e2d47a0

Please sign in to comment.