# HG changeset patch # User Karl Heuer # Date 824936086 0 # Node ID 69fca906f068ad37b9a749671f93fe63ef159367 # Parent 6c73b6046d21ae9f9e20685b0bbade5387d4ca30 (free_widget_value_tree, merge_widget_value): Use XtFree for the toolkit_data. diff -r 6c73b6046d21 -r 69fca906f068 lwlib/lwlib.c --- 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; }