Commit 87a854dc authored by Serhiy Storchaka's avatar Serhiy Storchaka

Fixed leak in sys.flags initialization.

parent 17007880
...@@ -1404,6 +1404,7 @@ make_flags(void) ...@@ -1404,6 +1404,7 @@ make_flags(void)
#undef SetFlag #undef SetFlag
if (PyErr_Occurred()) { if (PyErr_Occurred()) {
Py_DECREF(seq);
return NULL; return NULL;
} }
return seq; return seq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment