diff 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
line wrap: on
line diff
--- a/src/gui-x.c	Mon Sep 29 21:53:04 2003 +0000
+++ b/src/gui-x.c	Tue Sep 30 15:27:01 2003 +0000
@@ -198,9 +198,9 @@
 free_popup_widget_value_tree (widget_value *wv)
 {
   if (! wv) return;
-  if (wv->key) xfree (wv->key);
-  if (wv->value) xfree (wv->value);
-  if (wv->name) xfree (wv->name);
+  if (wv->key) xfree (wv->key, char *);
+  if (wv->value) xfree (wv->value, char *);
+  if (wv->name) xfree (wv->name, char *);
 
   wv->name = wv->value = wv->key = (char *) 0xDEADBEEF; /* -559038737 base 10*/