summaryrefslogtreecommitdiffstats
path: root/generic/tclNotify.c
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2009-07-23 10:07:02 (GMT)
committermistachkin <mistachkin@noemail.net>2009-07-23 10:07:02 (GMT)
commit24bb8607453f08799cd75aeceea92e4b1bca3174 (patch)
tree86aa2528c393478269fd35cffa94b0d98ec45a08 /generic/tclNotify.c
parent2802eeeddeff660e4afd7ec12600c848f608a32b (diff)
downloadtcl-24bb8607453f08799cd75aeceea92e4b1bca3174.zip
tcl-24bb8607453f08799cd75aeceea92e4b1bca3174.tar.gz
tcl-24bb8607453f08799cd75aeceea92e4b1bca3174.tar.bz2
Fix for [Bug 2820349]
FossilOrigin-Name: 00e1c4070f29b070f252a72731ecfba5a093e573
Diffstat (limited to 'generic/tclNotify.c')
-rw-r--r--generic/tclNotify.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclNotify.c b/generic/tclNotify.c
index 53ef23e..5646ebc 100644
--- a/generic/tclNotify.c
+++ b/generic/tclNotify.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclNotify.c,v 1.29 2008/10/26 18:34:04 dkf Exp $
+ * RCS: @(#) $Id: tclNotify.c,v 1.30 2009/07/23 10:07:05 mistachkin Exp $
*/
#include "tclInt.h"
@@ -412,6 +412,8 @@ Tcl_ThreadQueueEvent(
if (tsdPtr) {
QueueEvent(tsdPtr, evPtr, position);
+ } else {
+ ckfree((char *) evPtr);
}
Tcl_MutexUnlock(&listLock);
}