summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2010-09-23 17:59:38 (GMT)
committerdgp@users.sourceforge.net <dgp>2010-09-23 17:59:38 (GMT)
commitf73d0c6c04d2dc9d71ad194de9a08a2cfadfaa4f (patch)
tree548ce39ebe7fe493b3ec37aabd520e0d29a6ce09 /generic/tclEvent.c
parent4869ebac0ae3da37bd7278f8d6864559b9267cbc (diff)
downloadtcl-f73d0c6c04d2dc9d71ad194de9a08a2cfadfaa4f.zip
tcl-f73d0c6c04d2dc9d71ad194de9a08a2cfadfaa4f.tar.gz
tcl-f73d0c6c04d2dc9d71ad194de9a08a2cfadfaa4f.tar.bz2
* generic/tclCmdAH.c: Fix cases where value returned by
* generic/tclEvent.c: Tcl_GetReturnOptions() was leaked. * generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the anti-pattern to seek and destroy.
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index a10da8f..b1dbf9e 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.80.2.2 2009/10/07 23:10:50 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclEvent.c,v 1.80.2.3 2010/09/23 17:59:39 dgp Exp $
*/
#include "tclInt.h"
@@ -277,6 +277,7 @@ HandleBgErrors(
}
Tcl_WriteChars(errChannel, "\n", 1);
Tcl_Flush(errChannel);
+ Tcl_DecrRefCount(options);
}
}
}