commit | 4089b50080bd9ad2b769d3c42a610abe519c16c8 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Oct 28 12:14:34 2016 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Fri Oct 28 12:14:34 2016 +0300 |
tree | 51aed93163e62c2eaa06b1d41570717e31f3f9d6 | |
parent | f831fd3f1905a228dbbe32b7c2bb4922f90eaeed [diff] [blame] |
Fixed possible NULL decrefing.
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 2a652b0..46cc64d 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c
@@ -1874,7 +1874,7 @@ PyErr_NormalizeException(&exc, &val, &tb); *(ev->exc_type) = exc; *(ev->exc_val) = val; - Py_DECREF(tb); + Py_XDECREF(tb); } }