diff src/event-gtk.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 b0c1d9dc4b08
children 91d4c8c65a0f
line wrap: on
line diff
--- a/src/event-gtk.c	Mon Sep 29 21:53:04 2003 +0000
+++ b/src/event-gtk.c	Tue Sep 30 15:27:01 2003 +0000
@@ -779,7 +779,7 @@
 	}
     }
   gdk_input_remove (closure->id);
-  xfree (closure);
+  xfree (closure, struct what_is_ready_closure *);
   filedesc_to_what_closure[fd] = 0;
 }
 
@@ -1020,7 +1020,7 @@
       l_dndlist = list1 (make_string ((Ibyte *)hurl, strlen (hurl)));
       l_type = Qdragdrop_URL;
 
-      xfree (hurl);
+      xfree (hurl, char *);
     }
   else if (data->type == preferred_targets[TARGET_NETSCAPE])
     {