summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadTest.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-01-02 14:37:23 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-01-02 14:37:23 (GMT)
commit6ba39bbeaa4ebd171089b1943b9521ae7570e249 (patch)
treed89982bd2cd0bc211c455c625c08676a6cade532 /generic/tclThreadTest.c
parent3583625ad58b7fb413b36654cc3c29fec3c942b5 (diff)
parenta56cacca9cc35587c00419af2412305a8a4184e8 (diff)
downloadtcl-6ba39bbeaa4ebd171089b1943b9521ae7570e249.zip
tcl-6ba39bbeaa4ebd171089b1943b9521ae7570e249.tar.gz
tcl-6ba39bbeaa4ebd171089b1943b9521ae7570e249.tar.bz2
test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well.
Don't free ctrl.script if thread creation fails: it is a constant string "testthread wait" normally.
Diffstat (limited to 'generic/tclThreadTest.c')
-rw-r--r--generic/tclThreadTest.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/generic/tclThreadTest.c b/generic/tclThreadTest.c
index 22b5995..b90e33d 100644
--- a/generic/tclThreadTest.c
+++ b/generic/tclThreadTest.c
@@ -513,7 +513,6 @@ ThreadCreate(
TCL_THREAD_STACK_DEFAULT, joinable) != TCL_OK) {
Tcl_MutexUnlock(&threadMutex);
Tcl_AppendResult(interp, "can't create a new thread", NULL);
- ckfree(ctrl.script);
return TCL_ERROR;
}