mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
gh-71592: Fix a leak in tkinter.Tk destructor when _debug is true (GH-118664)
This commit is contained in:
parent
325a1da18d
commit
67ce820d51
1 changed files with 1 additions and 0 deletions
|
|
@ -2972,6 +2972,7 @@ Tkapp_Dealloc(PyObject *self)
|
|||
ENTER_TCL
|
||||
Tcl_DeleteInterp(Tkapp_Interp(self));
|
||||
LEAVE_TCL
|
||||
Py_XDECREF(((TkappObject *)self)->trace);
|
||||
PyObject_Free(self);
|
||||
Py_DECREF(tp);
|
||||
DisableEventHook();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue