summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclBasic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 56356e2..27cbeac 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -3740,7 +3740,7 @@ CallCommandTraces(
*/
cmdPtr->flags &= ~CMD_TRACE_ACTIVE;
- cmdPtr->refCount--;
+ TclCleanupCommandMacro(cmdPtr);
iPtr->activeCmdTracePtr = active.nextPtr;
Tcl_Release(iPtr);
return result;