commit | 0585418b0d50755500587a887f3a901f8149cd00 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Tue Dec 17 14:59:29 2013 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Tue Dec 17 14:59:29 2013 +0200 |
tree | a61f9bbf0354e7e996daae26e202bded7adab35d | |
parent | 84e7e5f40e2972af725e7f57e53bb6bcf3931912 [diff] [blame] |
Fixed leak in sys.flags initialization.
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index a868715..fa66eb4 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c
@@ -1261,6 +1261,7 @@ #undef SetFlag if (PyErr_Occurred()) { + Py_DECREF(seq); return NULL; } return seq;