diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-02 14:37:23 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-02 14:37:23 (GMT) |
commit | 23c8c8b5e43fffff7f81e26ffa820d4f51cca5c5 (patch) | |
tree | d89982bd2cd0bc211c455c625c08676a6cade532 /generic/tclThreadTest.c | |
parent | 1c7c1c74c471463c45093f14f25a4f69af26211f (diff) | |
parent | 8214e44b57a7ed7914a9d3eb4de78d298402edf0 (diff) | |
download | tcl-23c8c8b5e43fffff7f81e26ffa820d4f51cca5c5.zip tcl-23c8c8b5e43fffff7f81e26ffa820d4f51cca5c5.tar.gz tcl-23c8c8b5e43fffff7f81e26ffa820d4f51cca5c5.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.c | 1 |
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; } |