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

Skip to content

Commit 8a8ebc9

Browse files
Fixed possible NULL decrefing.
2 parents b6bd81d + 3ec5f42 commit 8a8ebc9

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
@@ -1777,7 +1777,7 @@ var_perform(VarEvent *ev)
17771777
PyErr_NormalizeException(&exc, &val, &tb);
17781778
*(ev->exc_type) = exc;
17791779
*(ev->exc_val) = val;
1780-
Py_DECREF(tb);
1780+
Py_XDECREF(tb);
17811781
}
17821782

17831783
}

0 commit comments

Comments
 (0)