summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2010-09-23 18:08:34 (GMT)
committerdgp <dgp@noemail.net>2010-09-23 18:08:34 (GMT)
commit5d89cc099c8cb6b0045bf943f01870c85ce161ba (patch)
tree70188bada5349cb8693a728792bcef992ccb9ac5 /generic/tclEvent.c
parent13143b718abe5e89f86f87d5b128e11c65e1f4b8 (diff)
downloadtcl-5d89cc099c8cb6b0045bf943f01870c85ce161ba.zip
tcl-5d89cc099c8cb6b0045bf943f01870c85ce161ba.tar.gz
tcl-5d89cc099c8cb6b0045bf943f01870c85ce161ba.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. FossilOrigin-Name: b83a3519f5388a3dabcedb979ad31b90e391cc09
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 ad87cd5..ba2bb64 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.93 2010/06/16 14:49:50 nijtmans Exp $
+ * RCS: @(#) $Id: tclEvent.c,v 1.94 2010/09/23 18:08:35 dgp Exp $
*/
#include "tclInt.h"
@@ -281,6 +281,7 @@ HandleBgErrors(
}
Tcl_WriteChars(errChannel, "\n", 1);
Tcl_Flush(errChannel);
+ Tcl_DecrRefCount(options);
}
}
}