diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2005-04-16 19:17:30 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2005-04-16 19:17:30 (GMT) |
commit | 5569cd7f6bc15d75f4b42108f06113c0e198a0e2 (patch) | |
tree | a76022b5119dfcc6f4ec5914b6bb38b7259df644 /generic/tclVar.c | |
parent | dcc058d3fffbd8ad09d0ded3cb607194196d0ef4 (diff) | |
download | tcl-5569cd7f6bc15d75f4b42108f06113c0e198a0e2.zip tcl-5569cd7f6bc15d75f4b42108f06113c0e198a0e2.tar.gz tcl-5569cd7f6bc15d75f4b42108f06113c0e198a0e2.tar.bz2 |
* generic/Var.c (Tcl_ArrayObjCmd - ARRAY_NAMES): fix Tcl_Obj leak
[Bug 1084111]
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r-- | generic/tclVar.c | 4 |
1 files changed, 2 insertions, 2 deletions
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: { |