Skip to content

Commit 82886ef

Browse files
Apply suggestion from @picnixz
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent f0d5301 commit 82886ef

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
@@ -2859,7 +2859,7 @@ Tktt_Dealloc(PyObject *op)
28592859
Tcl_DeleteTimerHandler(self->token);
28602860
self->token = NULL;
28612861
}
2862-
Py_XDECREF(self->func);
2862+
(void)Tktt_Clear(op);
28632863
tp->tp_free(op);
28642864
Py_DECREF(tp);
28652865
}

0 commit comments

Comments
 (0)