summaryrefslogtreecommitdiffstats
path: root/generic/tkSelect.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2002-01-04 16:35:04 (GMT)
committerdgp@users.sourceforge.net <dgp>2002-01-04 16:35:04 (GMT)
commit31629ec3b505170bcac0c3913e377132b4df027c (patch)
tree2a9f7dd8870ac580fda3087921d74e816bb3eaed /generic/tkSelect.c
parentec6b34498c1d1b1cfcdc0462321fda214f907453 (diff)
downloadtk-31629ec3b505170bcac0c3913e377132b4df027c.zip
tk-31629ec3b505170bcac0c3913e377132b4df027c.tar.gz
tk-31629ec3b505170bcac0c3913e377132b4df027c.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/tkSelect.c')
-rw-r--r--generic/tkSelect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkSelect.c b/generic/tkSelect.c
index 9d6285d..a8335c4 100644
--- a/generic/tkSelect.c
+++ b/generic/tkSelect.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: tkSelect.c,v 1.7 2001/07/03 01:03:16 hobbs Exp $
+ * RCS: @(#) $Id: tkSelect.c,v 1.8 2002/01/04 16:35:04 dgp Exp $
*/
#include "tkInt.h"
@@ -325,7 +325,7 @@ Tk_DeleteSelHandler(tkwin, selection, target)
*/
((CommandInfo*)selPtr->clientData)->interp = NULL;
- Tcl_EventuallyFree(selPtr->clientData, Tcl_Free);
+ Tcl_EventuallyFree(selPtr->clientData, TCL_DYNAMIC);
}
ckfree((char *) selPtr);
}
@@ -1122,7 +1122,7 @@ TkSelDeadWindow(winPtr)
*/
((CommandInfo*)selPtr->clientData)->interp = NULL;
- Tcl_EventuallyFree(selPtr->clientData, Tcl_Free);
+ Tcl_EventuallyFree(selPtr->clientData, TCL_DYNAMIC);
}
ckfree((char *) selPtr);
}