summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-28 09:16:21 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-28 09:16:21 (GMT)
commit8a8ebc900a8cd32d125ccb8197248df2f983ec6b (patch)
tree06425cfb961d6bc72287bc3070bbb314d9d9260f /Modules
parentb6bd81dee9a7a3fea03c92e27eb232fee9ce8077 (diff)
parent3ec5f421c58e2785edbb8ee3e4a575491bb0e7c2 (diff)
downloadcpython-8a8ebc900a8cd32d125ccb8197248df2f983ec6b.zip
cpython-8a8ebc900a8cd32d125ccb8197248df2f983ec6b.tar.gz
cpython-8a8ebc900a8cd32d125ccb8197248df2f983ec6b.tar.bz2
Fixed possible NULL decrefing.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_tkinter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 21f063d..3e96aa0 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -1777,7 +1777,7 @@ var_perform(VarEvent *ev)
PyErr_NormalizeException(&exc, &val, &tb);
*(ev->exc_type) = exc;
*(ev->exc_val) = val;
- Py_DECREF(tb);
+ Py_XDECREF(tb);
}
}