mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-125234: Make PyInitConfig_Free(NULL) a no-op (#125266)
This commit is contained in:
parent
92af191a6a
commit
546dddca43
3 changed files with 6 additions and 0 deletions
|
|
@ -1896,6 +1896,7 @@ static int test_initconfig_api(void)
|
|||
goto error;
|
||||
}
|
||||
PyInitConfig_Free(config);
|
||||
PyInitConfig_Free(NULL);
|
||||
|
||||
dump_config();
|
||||
Py_Finalize();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue