diff options
author | dgp <dgp@users.sourceforge.net> | 2012-12-13 15:59:51 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-12-13 15:59:51 (GMT) |
commit | 4557297b08546a1763773f2faae9e3614d34d078 (patch) | |
tree | 0b5177a6a5dab4217d95ada5e723b55c18a3d157 /generic/tclCmdAH.c | |
parent | e1c8f78ed0b89df2af160895d4fca6d630815c2a (diff) | |
download | tcl-4557297b08546a1763773f2faae9e3614d34d078.zip tcl-4557297b08546a1763773f2faae9e3614d34d078.tar.gz tcl-4557297b08546a1763773f2faae9e3614d34d078.tar.bz2 |
3595576 Tests/fix for mem corruption: [catch] fails to store options in a var.
Diffstat (limited to 'generic/tclCmdAH.c')
-rw-r--r-- | generic/tclCmdAH.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c index 8e32389..44f08a3 100644 --- a/generic/tclCmdAH.c +++ b/generic/tclCmdAH.c @@ -273,7 +273,6 @@ Tcl_CatchObjCmd( Tcl_Obj *options = Tcl_GetReturnOptions(interp, result); if (NULL == Tcl_ObjSetVar2(interp, optionVarNamePtr, NULL, options, 0)) { - Tcl_DecrRefCount(options); Tcl_ResetResult(interp); Tcl_AppendResult(interp, "couldn't save return options in variable", NULL); |