diff options
author | dgp <dgp@users.sourceforge.net> | 2002-01-04 16:35:04 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-01-04 16:35:04 (GMT) |
commit | 48c6fa2596567056e76570fccffb1b23e54626b4 (patch) | |
tree | 2a9f7dd8870ac580fda3087921d74e816bb3eaed /generic/tkBind.c | |
parent | 50551bffcd2004039536f99a2e64481df319a278 (diff) | |
download | tk-48c6fa2596567056e76570fccffb1b23e54626b4.zip tk-48c6fa2596567056e76570fccffb1b23e54626b4.tar.gz tk-48c6fa2596567056e76570fccffb1b23e54626b4.tar.bz2 |
* generic/tkBind.c (TkBindFree):
* generic/tkGrid.c (ResolveConstraints,CheckSlotData,DestroyGrid):
* generic/tkSelect.c (Tk_DeleteSelHandler,TkSelDeadWindow): Replaced
Tcl_Free calls with ckfree so that memory debugging is fully supported.
Diffstat (limited to 'generic/tkBind.c')
-rw-r--r-- | generic/tkBind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c index ddd7e39..398c59e 100644 --- a/generic/tkBind.c +++ b/generic/tkBind.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkBind.c,v 1.18 2001/09/25 16:25:20 dgp Exp $ + * RCS: @(#) $Id: tkBind.c,v 1.19 2002/01/04 16:35:04 dgp Exp $ */ #include "tkPort.h" @@ -810,7 +810,7 @@ TkBindFree(mainPtr) bindInfoPtr = (BindInfo *) mainPtr->bindInfo; DeleteVirtualEventTable(&bindInfoPtr->virtualEventTable); bindInfoPtr->deleted = 1; - Tcl_EventuallyFree((ClientData) bindInfoPtr, Tcl_Free); + Tcl_EventuallyFree((ClientData) bindInfoPtr, TCL_DYNAMIC); mainPtr->bindInfo = NULL; } |