diff options
author | vasiljevic <vasiljevic@noemail.net> | 2010-04-06 08:26:01 (GMT) |
---|---|---|
committer | vasiljevic <vasiljevic@noemail.net> | 2010-04-06 08:26:01 (GMT) |
commit | b72724827c4a7bc6b5c69262ad186328a86d2480 (patch) | |
tree | 13e4b74ae79b8c53532d6582f3d200058f312b8e /generic/tclCmdMZ.c | |
parent | aea15b893605c32647daf755149f1bb40ca7c3fe (diff) | |
download | tcl-b72724827c4a7bc6b5c69262ad186328a86d2480.zip tcl-b72724827c4a7bc6b5c69262ad186328a86d2480.tar.gz tcl-b72724827c4a7bc6b5c69262ad186328a86d2480.tar.bz2 |
Reverted previous checin as Tcl_ObjSetVar2 (convoluted and undocumented)
jnterface implicitly decrements refcount of the passed result object
when the passed result object refcount was already zero.
FossilOrigin-Name: 470f531183c86e73a11eed54bea9c23cfd719366
Diffstat (limited to 'generic/tclCmdMZ.c')
-rw-r--r-- | generic/tclCmdMZ.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c index 8fbd88f..2011b4b 100644 --- a/generic/tclCmdMZ.c +++ b/generic/tclCmdMZ.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: tclCmdMZ.c,v 1.163.2.7 2010/04/06 07:43:52 vasiljevic Exp $ + * RCS: @(#) $Id: tclCmdMZ.c,v 1.163.2.8 2010/04/06 08:26:02 vasiljevic Exp $ */ #include "tclInt.h" @@ -370,7 +370,6 @@ Tcl_RegexpObjCmd( if (valuePtr == NULL) { Tcl_AppendResult(interp, "couldn't set variable \"", TclGetString(objv[i]), "\"", NULL); - Tcl_DecrRefCount(newPtr); return TCL_ERROR; } } |