diff options
author | das <das> | 2006-05-12 18:12:07 (GMT) |
---|---|---|
committer | das <das> | 2006-05-12 18:12:07 (GMT) |
commit | 9c66f2efe92c41679bdae68387c64dd1b6400be4 (patch) | |
tree | 232112977107484aa6696cbfb509cad1d374f9e3 /generic | |
parent | c802ec354b63ada12adc6522c9d96b60bd16687a (diff) | |
download | tcl-9c66f2efe92c41679bdae68387c64dd1b6400be4.zip tcl-9c66f2efe92c41679bdae68387c64dd1b6400be4.tar.gz tcl-9c66f2efe92c41679bdae68387c64dd1b6400be4.tar.bz2 |
* generic/tclEvent.c (HandleBgErrors): fix leak. [Coverity issue 86]
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclEvent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c index 4541309..907ce15 100644 --- a/generic/tclEvent.c +++ b/generic/tclEvent.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclEvent.c,v 1.66 2006/03/10 17:31:29 vasiljevic Exp $ + * RCS: @(#) $Id: tclEvent.c,v 1.67 2006/05/12 18:12:07 das Exp $ */ #include "tclInt.h" @@ -221,6 +221,7 @@ HandleBgErrors( Tcl_DecrRefCount(errPtr->returnOpts); assocPtr->firstBgPtr = errPtr->nextPtr; ckfree((char *) errPtr); + ckfree((char *) tempObjv); if (code == TCL_BREAK) { /* |