diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | generic/tclCompile.c | 5 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-04-23 Miguel Sofer <msofer@users.sf.net> + + * generic/tclCompile.c (TclFreeCompileEnv): Tip 280's new field + extCmdMapPtr was not being freed [Bug 1705778, leak #1]. + 2007-04-23 Kevin B. Kenny <kennykb@acm.org> * generic/tclEnv.c (ReplaceString): Clear memory correctly when @@ -10,6 +15,7 @@ All three of these issues reported under [Bug 1705778] - detected with the existing test suite, no new regression tests required. +>>>>>>> 1.3453 2007-04-22 Miguel Sofer <msofer@users.sf.net> * generic/tclVar.c (TclDeleteNamespaceVars): fixed access to freed diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 5a3633d..690da17 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.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: tclCompile.c,v 1.115 2007/04/10 14:47:10 dkf Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.116 2007/04/23 18:01:41 msofer Exp $ */ #include "tclInt.h" @@ -994,6 +994,9 @@ TclFreeCompileEnv( if (envPtr->mallocedAuxDataArray) { ckfree((char *) envPtr->auxDataArrayPtr); } + if (envPtr->extCmdMapPtr) { + ckfree((char *) envPtr->extCmdMapPtr); + } } /* |