[Python-checkins] cpython (merge 3.3 -> default): Fixed leak in sys.flags initialization.
serhiy.storchaka
python-checkins at python.org
Tue Dec 17 14:02:42 CET 2013
http://hg.python.org/cpython/rev/cf939f70d596
changeset: 88023:cf939f70d596
parent: 88018:b6d6f3b4b100
parent: 88022:90a7277a3187
user: Serhiy Storchaka <storchaka at gmail.com>
date: Tue Dec 17 15:00:53 2013 +0200
summary:
Fixed leak in sys.flags initialization.
files:
Python/sysmodule.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1465,6 +1465,7 @@
#undef SetFlag
if (PyErr_Occurred()) {
+ Py_DECREF(seq);
return NULL;
}
return seq;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list