commit | 87a854dc732ac3d2e64d8c2935bf1d77c8de5032 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Tue Dec 17 14:59:42 2013 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Tue Dec 17 14:59:42 2013 +0200 |
tree | 9b9da2f849a5c236a35aaa7f6ddf1e48ba4366cc | |
parent | 170078804c6191eaeb6985a15a58d43ea673650e [diff] [blame] |
Fixed leak in sys.flags initialization.
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index df9dfb1..880385c 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c
@@ -1404,6 +1404,7 @@ #undef SetFlag if (PyErr_Occurred()) { + Py_DECREF(seq); return NULL; } return seq;