summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2021-04-05 21:07:00 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2021-04-05 21:07:00 (GMT)
commit83025a44e02d61c30fba4f3e017d029a16f0890f (patch)
tree3e95c1d54b0fd2586251e0c6d965cd6105ea49da
parent85d1500c5027147c1ab54c07cd64381426932b68 (diff)
downloadtcl-83025a44e02d61c30fba4f3e017d029a16f0890f.zip
tcl-83025a44e02d61c30fba4f3e017d029a16f0890f.tar.gz
tcl-83025a44e02d61c30fba4f3e017d029a16f0890f.tar.bz2
Replace simple refCount decrement with the proper decrementing function.
-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;