summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2009-07-23 10:17:03 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2009-07-23 10:17:03 (GMT)
commit0e0851e0575134877496aec4036ae9cbe50f0d74 (patch)
treeb31fa8e05c452fe55eb4ff667728672681d579a0
parent610b63c8a1dd9161a0f93ceb28b4b0d49047eb75 (diff)
downloadtcl-0e0851e0575134877496aec4036ae9cbe50f0d74.zip
tcl-0e0851e0575134877496aec4036ae9cbe50f0d74.tar.gz
tcl-0e0851e0575134877496aec4036ae9cbe50f0d74.tar.bz2
Fix for [Bug 2820349]
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclNotify.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f50285..4294ed0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-23 Joe Mistachkin <joe@mistachkin.com>
+
+ * generic/tclNotify.c: Fix for [Bug 2820349].
+
2009-07-21 Kevin B. Kenny <kennykb@acm.org>
* library/tzdata/Asia/Dhaka:
diff --git a/generic/tclNotify.c b/generic/tclNotify.c
index 06781d9..88c710f 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.25 2006/09/25 15:02:54 dkf Exp $
+ * RCS: @(#) $Id: tclNotify.c,v 1.25.8.1 2009/07/23 10:17:03 mistachkin Exp $
*/
#include "tclInt.h"
@@ -417,6 +417,8 @@ Tcl_ThreadQueueEvent(
if (tsdPtr) {
QueueEvent(tsdPtr, evPtr, position);
+ } else {
+ ckfree((char *) evPtr);
}
Tcl_MutexUnlock(&listLock);
}