From: Serhiy Storchaka Date: Fri, 28 Oct 2016 09:14:34 +0000 (+0300) Subject: Fixed possible NULL decrefing. X-Git-Tag: v2.7.13rc1~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4089b50080bd9ad2b769d3c42a610abe519c16c8;p=python Fixed possible NULL decrefing. --- diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 2a652b06a2..46cc64d62e 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -1874,7 +1874,7 @@ var_perform(VarEvent *ev) PyErr_NormalizeException(&exc, &val, &tb); *(ev->exc_type) = exc; *(ev->exc_val) = val; - Py_DECREF(tb); + Py_XDECREF(tb); } }