diff options
author | vasiljevic <vasiljevic@noemail.net> | 2010-04-06 07:43:50 (GMT) |
---|---|---|
committer | vasiljevic <vasiljevic@noemail.net> | 2010-04-06 07:43:50 (GMT) |
commit | aea15b893605c32647daf755149f1bb40ca7c3fe (patch) | |
tree | 3db9116f6874709e1794bd32e5adf0707fe1791c /generic/tclCmdMZ.c | |
parent | 74b11aae1d4c68e1d8f6a3e8cc929e0c3ec611a3 (diff) | |
download | tcl-aea15b893605c32647daf755149f1bb40ca7c3fe.zip tcl-aea15b893605c32647daf755149f1bb40ca7c3fe.tar.gz tcl-aea15b893605c32647daf755149f1bb40ca7c3fe.tar.bz2 |
Fixed object leak
FossilOrigin-Name: 087fcb4964d359ecf923009f942061cce1f17633
Diffstat (limited to 'generic/tclCmdMZ.c')
-rw-r--r-- | generic/tclCmdMZ.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c index 70002b5..8fbd88f 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.6 2010/02/27 21:25:05 dkf Exp $ + * RCS: @(#) $Id: tclCmdMZ.c,v 1.163.2.7 2010/04/06 07:43:52 vasiljevic Exp $ */ #include "tclInt.h" @@ -370,6 +370,7 @@ Tcl_RegexpObjCmd( if (valuePtr == NULL) { Tcl_AppendResult(interp, "couldn't set variable \"", TclGetString(objv[i]), "\"", NULL); + Tcl_DecrRefCount(newPtr); return TCL_ERROR; } } |