changeset 14611:69fca906f068

(free_widget_value_tree, merge_widget_value): Use XtFree for the toolkit_data.
author Karl Heuer <kwzh@gnu.org>
date Wed, 21 Feb 1996 20:54:46 +0000
parents 6c73b6046d21
children 0019d219990c
files lwlib/lwlib.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/lwlib.c	Wed Feb 21 20:53:01 1996 +0000
+++ b/lwlib/lwlib.c	Wed Feb 21 20:54:46 1996 +0000
@@ -201,7 +201,7 @@
 
   if (wv->toolkit_data && wv->free_toolkit_data)
     {
-      free (wv->toolkit_data);
+      XtFree (wv->toolkit_data);
       wv->toolkit_data = (void *) 0xDEADBEEF;
     }
 
@@ -553,7 +553,7 @@
   if (change > NO_CHANGE && val1->toolkit_data)
     {
       if (val1->free_toolkit_data)
-	free (val1->toolkit_data);
+	XtFree (val1->toolkit_data);
       val1->toolkit_data = NULL;
     }