summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-10-13 00:32:49 (GMT)
committerhobbs <hobbs>1999-10-13 00:32:49 (GMT)
commit04ea820b91d40ed30eed4b56ad2f4a12a552cb3f (patch)
tree6644d69c8f99aa752688a9e211685986541523fb /unix/tclAppInit.c
parent67604b787a8c97063919f609033bc87ac4d62995 (diff)
downloadtcl-04ea820b91d40ed30eed4b56ad2f4a12a552cb3f.zip
tcl-04ea820b91d40ed30eed4b56ad2f4a12a552cb3f.tar.gz
tcl-04ea820b91d40ed30eed4b56ad2f4a12a552cb3f.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
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);