diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-28 09:14:34 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-28 09:14:34 (GMT) |
commit | 3ec5f421c58e2785edbb8ee3e4a575491bb0e7c2 (patch) | |
tree | 31bf6ec6b6824ebf9935af7be9a9e06f58e574ed /Modules | |
parent | 7865dfff2e3408948bada0034ec1d3d29f655cc1 (diff) | |
download | cpython-3ec5f421c58e2785edbb8ee3e4a575491bb0e7c2.zip cpython-3ec5f421c58e2785edbb8ee3e4a575491bb0e7c2.tar.gz cpython-3ec5f421c58e2785edbb8ee3e4a575491bb0e7c2.tar.bz2 |
Fixed possible NULL decrefing.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_tkinter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 316f932..163c87f 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -1779,7 +1779,7 @@ var_perform(VarEvent *ev) PyErr_NormalizeException(&exc, &val, &tb); *(ev->exc_type) = exc; *(ev->exc_val) = val; - Py_DECREF(tb); + Py_XDECREF(tb); } } |