diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclBasic.c | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2009-03-11 Miguel Sofer <msofer@users.sf.net> + + * generic/tclBasic.c (TclNRCoroutineObjCmd): fix Tcl_Obj leak. + Diagnose and fix thx to GPS. + 2009-03-09 Donal K. Fellows <dkf@users.sf.net> * generic/tclCmdMZ.c (Tcl_TryObjCmd, TclNRTryObjCmd): Moved the diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 9f4d0dc..50230ba 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -16,7 +16,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.386 2009/03/09 09:12:39 dkf Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.387 2009/03/11 10:44:20 msofer Exp $ */ #include "tclInt.h" @@ -8471,7 +8471,6 @@ TclNRCoroutineObjCmd( TclGetString(cmdObjPtr); TclFreeIntRep(cmdObjPtr); cmdObjPtr->typePtr = NULL; - Tcl_IncrRefCount(cmdObjPtr); /* * Set up the callback in caller execEnv and switch to the new execEnv. |