diff options
author | mistachkin <mistachkin@noemail.net> | 2009-07-23 10:17:02 (GMT) |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2009-07-23 10:17:02 (GMT) |
commit | 354a5d9f28b66d9f6d129ad62d979dce18e159cb (patch) | |
tree | b31fa8e05c452fe55eb4ff667728672681d579a0 /generic/tclNotify.c | |
parent | 9bd3e3e4ae2ac01b636f5df779442670c6b84e15 (diff) | |
download | tcl-354a5d9f28b66d9f6d129ad62d979dce18e159cb.zip tcl-354a5d9f28b66d9f6d129ad62d979dce18e159cb.tar.gz tcl-354a5d9f28b66d9f6d129ad62d979dce18e159cb.tar.bz2 |
Fix for [Bug 2820349]
FossilOrigin-Name: 4b7c178d54f9bb7727cddd6385e85ad65427d72a
Diffstat (limited to 'generic/tclNotify.c')
-rw-r--r-- | generic/tclNotify.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |