diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-02-21 20:54:46 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-02-21 20:54:46 +0000 |
commit | 5919c60128e0ad5887bdbb2b7e502b7485361bc2 (patch) | |
tree | a033972410e311e7d9ef9e25fe4f1ef05f3f0b17 /lwlib/lwlib.c | |
parent | 9151431f3bfe83f2c5c734847e838ee1a7afa30b (diff) | |
download | emacs-5919c60128e0ad5887bdbb2b7e502b7485361bc2.tar.gz |
(free_widget_value_tree, merge_widget_value):
Use XtFree for the toolkit_data.
Diffstat (limited to 'lwlib/lwlib.c')
-rw-r--r-- | lwlib/lwlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c index a1e4ecc7304..6569b38da32 100644 --- a/lwlib/lwlib.c +++ b/lwlib/lwlib.c @@ -201,7 +201,7 @@ free_widget_value_tree (wv) 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 @@ merge_widget_value (val1, val2, level) if (change > NO_CHANGE && val1->toolkit_data) { if (val1->free_toolkit_data) - free (val1->toolkit_data); + XtFree (val1->toolkit_data); val1->toolkit_data = NULL; } |