Fixed leak in sys.flags initialization.

This commit is contained in:
Serhiy Storchaka 2013-12-17 15:00:53 +02:00
commit 11ee080ea7
1 changed files with 1 additions and 0 deletions

View File

@ -1465,6 +1465,7 @@ make_flags(void)
#undef SetFlag
if (PyErr_Occurred()) {
Py_DECREF(seq);
return NULL;
}
return seq;