summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authormsofer <msofer@noemail.net>2007-04-23 18:01:39 (GMT)
committermsofer <msofer@noemail.net>2007-04-23 18:01:39 (GMT)
commit2e634a7ed1249ac43fe4cb2a4088e5bcfd9501d7 (patch)
tree084c06487f1927cca7802fa2deea3e21481057a6 /generic
parent27b3ebe67b463bb734771343730aec2bec7409bf (diff)
downloadtcl-2e634a7ed1249ac43fe4cb2a4088e5bcfd9501d7.zip
tcl-2e634a7ed1249ac43fe4cb2a4088e5bcfd9501d7.tar.gz
tcl-2e634a7ed1249ac43fe4cb2a4088e5bcfd9501d7.tar.bz2
* generic/tclCompile.c (TclFreeCompileEnv): Tip 280's new field
extCmdMapPtr was not being freed [Bug 1705778, leak #1]. FossilOrigin-Name: 2c071d41e402db7be27514d44887f8758aa32d2f
Diffstat (limited to 'generic')
-rw-r--r--generic/tclCompile.c5
1 files changed, 4 insertions, 1 deletions
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);
+ }
}
/*