Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ec5f42

Browse files
Fixed possible NULL decrefing.
1 parent 7865dff commit 3ec5f42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_tkinter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,7 @@ var_perform(VarEvent *ev)
17791779
PyErr_NormalizeException(&exc, &val, &tb);
17801780
*(ev->exc_type) = exc;
17811781
*(ev->exc_val) = val;
1782-
Py_DECREF(tb);
1782+
Py_XDECREF(tb);
17831783
}
17841784

17851785
}

0 commit comments

Comments
 (0)