diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclVar.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2005-04-16 Miguel Sofer <msofer@users.sf.net> + + * generic/Var.c (Tcl_ArrayObjCmd - ARRAY_NAMES): fix Tcl_Obj leak + [Bug 1084111] + 2005-04-16 Zoran Vasiljevic <vasiljevic@users.sf.net> * generic/tclIOUtil.c: force clenaup of the interp result diff --git a/generic/tclVar.c b/generic/tclVar.c index 7944ea6..0b5497f 100644 --- a/generic/tclVar.c +++ b/generic/tclVar.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclVar.c,v 1.103 2005/04/03 00:20:08 msofer Exp $ + * RCS: @(#) $Id: tclVar.c,v 1.104 2005/04/16 19:17:34 msofer Exp $ */ #include "tclInt.h" @@ -2917,8 +2917,8 @@ Tcl_ArrayObjCmd(dummy, interp, objc, objv) Tcl_DecrRefCount(namePtr); /* free unneeded name obj */ return result; } - Tcl_SetObjResult(interp, resultPtr); } + Tcl_SetObjResult(interp, resultPtr); break; } case ARRAY_NEXTELEMENT: { |