summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-01-26 23:55:30 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-01-26 23:55:30 (GMT)
commitd271c9f407a60528785465284451c752639b1128 (patch)
treece1b81e5c84bc13a0c210c75ac43707dffd899cd /generic/tclBasic.c
parent7426076e0fd6bea248ea4e734e8cc88d0626a2e3 (diff)
downloadtcl-d271c9f407a60528785465284451c752639b1128.zip
tcl-d271c9f407a60528785465284451c752639b1128.tar.gz
tcl-d271c9f407a60528785465284451c752639b1128.tar.bz2
Fix for [ee08ed090b0a5408], sporadic segmentation fault in
coroutine.test/coroutine-7.4.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 80dc416..bea5996 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -10520,6 +10520,7 @@ TclNRCoroutineObjCmd(
corPtr->running.lineLABCPtr = corPtr->lineLABCPtr;
corPtr->stackLevel = NULL;
corPtr->auxNumLevels = 0;
+ corPtr->yieldPtr = NULL;
/*
* Create the coro's execEnv, switch to it to push the exit and coro