http://hg.python.org/cpython/rev/c3c3dd78309d changeset: 88021:c3c3dd78309d branch: 2.7 user: Serhiy Storchaka <storchaka at gmail.com> date: Tue Dec 17 14:59:29 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 @@ -1261,6 +1261,7 @@ #undef SetFlag if (PyErr_Occurred()) { + Py_DECREF(seq); return NULL; } return seq; -- Repository URL: http://hg.python.org/cpython