diff options
author | dgp <dgp@users.sourceforge.net> | 2007-08-27 15:12:38 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-08-27 15:12:38 (GMT) |
commit | d807bb087b7c5fdec280d68120900066bb8e05ae (patch) | |
tree | 705afa5dff7582b5ecb3c89460a5e5a99c490525 /generic/tclCompExpr.c | |
parent | d679f070dcc31cea4f7fa392c47a081d7d926476 (diff) | |
download | tcl-d807bb087b7c5fdec280d68120900066bb8e05ae.zip tcl-d807bb087b7c5fdec280d68120900066bb8e05ae.tar.gz tcl-d807bb087b7c5fdec280d68120900066bb8e05ae.tar.bz2 |
* generic/tclCompile.c: Move the deallocation of local LiteralTable
* generic/tclCompExpr.c: entries into TclFreeCompileEnv().
* generic/tclExecute.c: Update callers.
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r-- | generic/tclCompExpr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c index b0c9755..0d8a72e 100644 --- a/generic/tclCompExpr.c +++ b/generic/tclCompExpr.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompExpr.c,v 1.81 2007/08/27 14:56:39 dgp Exp $ + * RCS: @(#) $Id: tclCompExpr.c,v 1.82 2007/08/27 15:12:38 dgp Exp $ */ #include "tclInt.h" @@ -2101,9 +2101,6 @@ ExecConstantExprTree( TclEmitOpcode(INST_DONE, envPtr); Tcl_IncrRefCount(byteCodeObj); TclInitByteCodeObj(byteCodeObj, envPtr); - if (envPtr->localLitTable.buckets != envPtr->localLitTable.staticBuckets) { - ckfree((char *) envPtr->localLitTable.buckets); - } TclFreeCompileEnv(envPtr); TclStackFree(interp, envPtr); byteCodePtr = (ByteCode *) byteCodeObj->internalRep.otherValuePtr; |