diff Python/getargs.c @ 17286:992460c668c1 2.0

- #119862 - getargs.c - patched memory leak - #128475 - pythonrun.c - In Py_Finalize, don't reset initialized flag until after the exit funcs have run
author Moshe Zadka <moshez@math.huji.ac.il>
date Sat, 31 Mar 2001 13:18:35 +0000
parents 25ddd3dc7a7a
children
line wrap: on
line diff
--- a/Python/getargs.c	Sat Mar 31 11:14:43 2001 +0000
+++ b/Python/getargs.c	Sat Mar 31 13:18:35 2001 +0000
@@ -1124,6 +1124,7 @@
 				return 0;
 			}
 			converted++;
+			Py_DECREF(item);
 		}
 		else {
 			PyErr_Clear();