summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-02 14:37:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-02 14:37:23 (GMT)
commit77014e3f62ce11cf0d989f69ddc84f53d58aa103 (patch)
treed89982bd2cd0bc211c455c625c08676a6cade532 /generic
parentc0845253a077db5f634159a7dab654622188b171 (diff)
parent46821e04b63ebe9ea4a5b3e92678374028841310 (diff)
downloadtcl-77014e3f62ce11cf0d989f69ddc84f53d58aa103.zip
tcl-77014e3f62ce11cf0d989f69ddc84f53d58aa103.tar.gz
tcl-77014e3f62ce11cf0d989f69ddc84f53d58aa103.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')
-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;
}