diff options
author | hobbs <hobbs> | 2001-08-24 23:57:59 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-08-24 23:57:59 (GMT) |
commit | 36ec8f9e516d45f47763d26dc2e152e6c779ea54 (patch) | |
tree | 15f63e9b044a2b59f8eab93397bccb72f0bfe144 | |
parent | 5642b0528a7ee9892748d6d1cfbc04a22319728f (diff) | |
download | tk-36ec8f9e516d45f47763d26dc2e152e6c779ea54.zip tk-36ec8f9e516d45f47763d26dc2e152e6c779ea54.tar.gz tk-36ec8f9e516d45f47763d26dc2e152e6c779ea54.tar.bz2 |
* generic/tkWindow.c (Tk_DestroyWindow): changed to use
Tcl_EventuallyFree instead of ckfree so that widgets that have
references to a tkwin can use them.
-rw-r--r-- | generic/tkWindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index f486234..9341a8b 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.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: tkWindow.c,v 1.16 2000/03/24 23:13:18 ericm Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.16.2.1 2001/08/24 23:57:59 hobbs Exp $ */ #include "tkPort.h" @@ -1398,7 +1398,7 @@ Tk_DestroyWindow(tkwin) } } } - ckfree((char *) winPtr); + Tcl_EventuallyFree((ClientData) winPtr, TCL_DYNAMIC); } /* |