Fixed leak in sys.flags initialization.
This commit is contained in:
commit
11ee080ea7
|
@ -1465,6 +1465,7 @@ make_flags(void)
|
|||
#undef SetFlag
|
||||
|
||||
if (PyErr_Occurred()) {
|
||||
Py_DECREF(seq);
|
||||
return NULL;
|
||||
}
|
||||
return seq;
|
||||
|
|
Loading…
Reference in New Issue