summaryrefslogtreecommitdiffstats
path: root/generic/tclNotify.c
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2009-07-23 10:19:44 (GMT)
committermistachkin <mistachkin@noemail.net>2009-07-23 10:19:44 (GMT)
commit571a9b81fda746054fa1496b00921475df69100b (patch)
tree1eb210e1bb00949bb8e7760d8f934e687c243835 /generic/tclNotify.c
parent60dff8715e8b4eb2187b5a678b6e2c21ee385e63 (diff)
downloadtcl-571a9b81fda746054fa1496b00921475df69100b.zip
tcl-571a9b81fda746054fa1496b00921475df69100b.tar.gz
tcl-571a9b81fda746054fa1496b00921475df69100b.tar.bz2
Fix for [Bug 2820349]
FossilOrigin-Name: a061d31ed4aa090debfb550fd4f06b59e6e696ae
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 c09d851..f08a76c 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.11.2.2 2005/04/26 00:46:02 das Exp $
+ * RCS: @(#) $Id: tclNotify.c,v 1.11.2.3 2009/07/23 10:19:46 mistachkin Exp $
*/
#include "tclInt.h"
@@ -409,6 +409,8 @@ Tcl_ThreadQueueEvent(threadId, evPtr, position)
if (tsdPtr) {
QueueEvent(tsdPtr, evPtr, position);
+ } else {
+ ckfree((char *) evPtr);
}
Tcl_MutexUnlock(&listLock);
}