mirror of
https://github.com/python/cpython.git
synced 2025-07-10 04:45:36 +00:00
Fixed leak in sys.flags initialization.
This commit is contained in:
parent
170078804c
commit
87a854dc73
1 changed files with 1 additions and 0 deletions
|
@ -1404,6 +1404,7 @@ make_flags(void)
|
|||
#undef SetFlag
|
||||
|
||||
if (PyErr_Occurred()) {
|
||||
Py_DECREF(seq);
|
||||
return NULL;
|
||||
}
|
||||
return seq;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue