summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>1999-10-13 00:32:48 (GMT)
committerhobbs <hobbs@noemail.net>1999-10-13 00:32:48 (GMT)
commit0df9c199a44d60f44548cc1cdc3fc97c725b1c22 (patch)
tree6644d69c8f99aa752688a9e211685986541523fb /unix/tclAppInit.c
parent7b5b23503a652c55606a322a9984c9a2722d7dc9 (diff)
downloadtcl-0df9c199a44d60f44548cc1cdc3fc97c725b1c22.zip
tcl-0df9c199a44d60f44548cc1cdc3fc97c725b1c22.tar.gz
tcl-0df9c199a44d60f44548cc1cdc3fc97c725b1c22.tar.bz2
* unix/Makefile.in: purify has to use -best-effort to instrument
* unix/tclAppInit.c: identified potential mem leak when compiling tcltest (not critical) * 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 FossilOrigin-Name: 51f678993b1c39c61b67d5eeaceba4154b1bf566
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r--unix/tclAppInit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index e452705..45d86eb 100644
--- a/unix/tclAppInit.c
+++ b/unix/tclAppInit.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclAppInit.c,v 1.6 1999/05/14 02:18:32 stanton Exp $
+ * RCS: @(#) $Id: tclAppInit.c,v 1.7 1999/10/13 00:32:49 hobbs Exp $
*/
#include "tcl.h"
@@ -69,6 +69,9 @@ main(argc, argv)
#ifdef TCL_TEST
/*
* Pass the build time location of the tcl library (to find init.tcl)
+ *
+ * This causes a 2400b "potential" mem leak, according to purify
+ * (the obj allocation that never seems to gets deallocated)
*/
Tcl_Obj *path;
path = Tcl_NewStringObj(TCL_BUILDTIME_LIBRARY, -1);