summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-01-27 19:15:09 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-01-27 19:15:09 (GMT)
commit7f87f0f8ea86cf01682eb02e4fa8c313dc6ef4ef (patch)
tree81be27915cd7df508366c56efea412e306fef09e /generic/tclNamesp.c
parent0318ff75d91a0c0ad84a7738939a99c4567ddc3b (diff)
downloadtcl-7f87f0f8ea86cf01682eb02e4fa8c313dc6ef4ef.zip
tcl-7f87f0f8ea86cf01682eb02e4fa8c313dc6ef4ef.tar.gz
tcl-7f87f0f8ea86cf01682eb02e4fa8c313dc6ef4ef.tar.bz2
Add some comments and tidy code.
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r--generic/tclNamesp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c
index 6269bbe..5a2979e 100644
--- a/generic/tclNamesp.c
+++ b/generic/tclNamesp.c
@@ -417,6 +417,8 @@ Tcl_PopCallFrame(
framePtr->nsPtr = NULL;
if (framePtr->tailcallPtr) {
+ /* Reusing the existing reference count from framePtr->tailcallPtr, so
+ * no need to Tcl_IncrRefCount(framePtr->tailcallPtr)*/
TclSetTailcall(interp, framePtr->tailcallPtr);
}
}