comparison src/gui-x.c @ 1726:a8d8f419b459

[xemacs-hg @ 2003-09-30 15:26:34 by james] Add type information to xfree to avoid alias creation.
author james
date Tue, 30 Sep 2003 15:27:01 +0000
parents 01c57eb70ae9
children d1312c7bdfab
comparison
equal deleted inserted replaced
1725:7ff8f4d70aec 1726:a8d8f419b459
196 left alone. */ 196 left alone. */
197 void 197 void
198 free_popup_widget_value_tree (widget_value *wv) 198 free_popup_widget_value_tree (widget_value *wv)
199 { 199 {
200 if (! wv) return; 200 if (! wv) return;
201 if (wv->key) xfree (wv->key); 201 if (wv->key) xfree (wv->key, char *);
202 if (wv->value) xfree (wv->value); 202 if (wv->value) xfree (wv->value, char *);
203 if (wv->name) xfree (wv->name); 203 if (wv->name) xfree (wv->name, char *);
204 204
205 wv->name = wv->value = wv->key = (char *) 0xDEADBEEF; /* -559038737 base 10*/ 205 wv->name = wv->value = wv->key = (char *) 0xDEADBEEF; /* -559038737 base 10*/
206 206
207 if (wv->contents && (wv->contents != (widget_value*)1)) 207 if (wv->contents && (wv->contents != (widget_value*)1))
208 { 208 {