summaryrefslogtreecommitdiff
path: root/Python/frozenmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r--Python/frozenmain.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index 769b33d0ee..de8bd35453 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -99,9 +99,7 @@ Py_FrozenMain(int argc, char **argv)
#ifdef MS_WINDOWS
PyWinFreeze_ExeTerm();
#endif
- if (Py_FinalizeEx() < 0) {
- sts = 120;
- }
+ Py_Finalize();
error:
PyMem_RawFree(argv_copy);