From 3759e6ffbfcbed0f548bd400a2198a2df3a63b47 Mon Sep 17 00:00:00 2001 From: sebres Date: Mon, 25 Mar 2024 20:22:59 +0000 Subject: fixes mem-leak introduced in [06b7ba18bdd9c2c3] (move of configure to unsupported) --- generic/tclClock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tclClock.c b/generic/tclClock.c index 2ce8445..7c179f6 100644 --- a/generic/tclClock.c +++ b/generic/tclClock.c @@ -268,7 +268,7 @@ TclClockInit( } cmdPtr = (Command *)Tcl_CreateObjCommand(interp, "::tcl::unsupported::clock::configure", - ClockConfigureObjCmd, data, NULL); + ClockConfigureObjCmd, data, ClockDeleteCmdProc); data->refCount++; cmdPtr->compileProc = TclCompileBasicMin0ArgCmd; } -- cgit v0.12