From: Serhiy Storchaka Date: Fri, 28 Oct 2016 09:14:34 +0000 (+0300) Subject: Fixed possible NULL decrefing. X-Git-Tag: v3.6.0b3~30^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ec5f421c58e2785edbb8ee3e4a575491bb0e7c2;p=python Fixed possible NULL decrefing. --- diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 316f9325b6..163c87f8b9 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); } }