diff options
author | dgp <dgp@users.sourceforge.net> | 2004-12-13 22:11:34 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-12-13 22:11:34 (GMT) |
commit | 10bb91f83c06110b9f30488d2aa5a264e7ec8294 (patch) | |
tree | d65bc5c06e6a13e5fdeebe85de7d2004521380e6 /generic/tclUtil.c | |
parent | 7a8cb9d50b6409dfbfbf8e60bd57f4f77ffec457 (diff) | |
download | tcl-10bb91f83c06110b9f30488d2aa5a264e7ec8294.zip tcl-10bb91f83c06110b9f30488d2aa5a264e7ec8294.tar.gz tcl-10bb91f83c06110b9f30488d2aa5a264e7ec8294.tar.bz2 |
* generic/tclEncoding.c: Plugged some memory leaks. Thanks to
* generic/tclUtil.c: Rolf Ade for reports and testing [Bug 1083082]
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r-- | generic/tclUtil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index d36aabf..6f032f6 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.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: tclUtil.c,v 1.52 2004/12/02 23:24:57 dgp Exp $ + * RCS: @(#) $Id: tclUtil.c,v 1.53 2004/12/13 22:11:35 dgp Exp $ */ #include "tclInt.h" @@ -2636,6 +2636,7 @@ FreeThreadHash(clientData) ClientData clientData; { Tcl_HashTable *tablePtr = (Tcl_HashTable *) clientData; + ClearHash(tablePtr); Tcl_DeleteHashTable(tablePtr); ckfree((char *) tablePtr); } |