diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-17 13:00:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-17 13:00:53 (GMT) |
commit | 11ee080ea77c037c5a0bd8de972b040930a9b7e6 (patch) | |
tree | 3e4160c014e00430016fc0cb4d67f5cb6183fccc /Python/sysmodule.c | |
parent | 9a76735b1dd427f4b7d6712ca3bb2b8958e689e8 (diff) | |
parent | 87a854dc732ac3d2e64d8c2935bf1d77c8de5032 (diff) | |
download | cpython-11ee080ea77c037c5a0bd8de972b040930a9b7e6.zip cpython-11ee080ea77c037c5a0bd8de972b040930a9b7e6.tar.gz cpython-11ee080ea77c037c5a0bd8de972b040930a9b7e6.tar.bz2 |
Fixed leak in sys.flags initialization.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 961657e..46a6aa9 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1465,6 +1465,7 @@ make_flags(void) #undef SetFlag if (PyErr_Occurred()) { + Py_DECREF(seq); return NULL; } return seq; |