Skip to content

Commit e48a9c4

Browse files
committed
small amend
1 parent 8ab6382 commit e48a9c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

generic/threadPoolCmd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,7 @@ TpoolWorker(
12511251
Tcl_MutexUnlock(&tpoolPtr->mutex);
12521252
TpoolEval(interp, rPtr->script, rPtr->scriptLen, rPtr);
12531253
ckfree(rPtr->script);
1254+
rPtr->script = NULL;
12541255
Tcl_MutexLock(&tpoolPtr->mutex);
12551256
if (!rPtr->detached) {
12561257
int isNew;

0 commit comments

Comments
 (0)