diff src/device-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 e22b0213b713
children 91d4c8c65a0f
line wrap: on
line diff
--- a/src/device-gtk.c	Mon Sep 29 21:53:04 2003 +0000
+++ b/src/device-gtk.c	Tue Sep 30 15:27:01 2003 +0000
@@ -245,7 +245,7 @@
 	for (ctr = 1; new_rc_files[ctr]; ctr++)
 	  free(new_rc_files[ctr]);
 
-	xfree (new_rc_files);
+	xfree (new_rc_files, gchar **);
       }
   }
 
@@ -350,7 +350,7 @@
 static void
 free_gtk_device_struct (struct device *d)
 {
-  xfree (d->device_data);
+  xfree (d->device_data, void *);
 }
 
 static void