diff src/scrollbar-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 04bc9d2f42c7
line wrap: on
line diff
--- a/src/scrollbar-x.c	Mon Sep 29 21:53:04 2003 +0000
+++ b/src/scrollbar-x.c	Tue Sep 30 15:27:01 2003 +0000
@@ -73,7 +73,7 @@
 x_free_scrollbar_instance (struct scrollbar_instance *instance)
 {
   if (SCROLLBAR_X_NAME (instance))
-    xfree (SCROLLBAR_X_NAME (instance));
+    xfree (SCROLLBAR_X_NAME (instance), char *);
 
   if (SCROLLBAR_X_WIDGET (instance))
     {
@@ -84,7 +84,7 @@
     }
 
   if (instance->scrollbar_data)
-    xfree (instance->scrollbar_data);
+    xfree (instance->scrollbar_data, void *);
 }
 
 /* A device method. */