summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTest.c
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-10-30 11:09:43 (GMT)
committerhobbs <hobbs>1999-10-30 11:09:43 (GMT)
commitfd533c1ea00ea7176af9b8c2b7c774cae393f531 (patch)
treed7e89d4d2d749a55cd7c8e1c6461a6358f989c9e /unix/tclUnixTest.c
parent997d8bc95bf5c1763ec35b770836e01b4b34731c (diff)
downloadtcl-fd533c1ea00ea7176af9b8c2b7c774cae393f531.zip
tcl-fd533c1ea00ea7176af9b8c2b7c774cae393f531.tar.gz
tcl-fd533c1ea00ea7176af9b8c2b7c774cae393f531.tar.bz2
* unix/Makefile.in: purify has to use -best-effort to instrument
* unix/tclUnixPipe.c: fixed mem leak in TclpCreateProcess when doing alloc between vfork and execvp. * unix/tclUnixTest.c: fixed mem leak in findexecutable test command * unix/tclUnixNotfy.c: fixed event/io threading problems by making triggerPipe non-blocking
Diffstat (limited to 'unix/tclUnixTest.c')
-rw-r--r--unix/tclUnixTest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/tclUnixTest.c b/unix/tclUnixTest.c
index 7c7559b..8ac0b9b 100644
--- a/unix/tclUnixTest.c
+++ b/unix/tclUnixTest.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixTest.c,v 1.10 1999/04/16 00:48:05 stanton Exp $
+ * RCS: @(#) $Id: tclUnixTest.c,v 1.10.6.1 1999/10/30 11:09:45 hobbs Exp $
*/
#include "tclInt.h"
@@ -465,6 +465,9 @@ TestfindexecutableCmd(clientData, interp, argc, argv)
Tcl_SetResult(interp, tclExecutableName, TCL_VOLATILE);
ckfree(tclExecutableName);
}
+ if (tclNativeExecutableName != NULL) {
+ ckfree(tclNativeExecutableName);
+ }
tclExecutableName = oldName;
tclNativeExecutableName = oldNativeName;