diff src/objects-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 a1e328407366
children 04bc9d2f42c7
line wrap: on
line diff
--- a/src/objects-x.c	Mon Sep 29 21:53:04 2003 +0000
+++ b/src/objects-x.c	Tue Sep 30 15:27:01 2003 +0000
@@ -304,7 +304,7 @@
 			   &COLOR_INSTANCE_X_COLOR (c).pixel, 1, 0);
 	    }
 	}
-      xfree (c->data);
+      xfree (c->data, void *);
       c->data = 0;
     }
 }
@@ -474,7 +474,7 @@
 
 	  XFreeFont (dpy, FONT_INSTANCE_X_FONT (f));
 	}
-      xfree (f->data);
+      xfree (f->data, void *);
       f->data = 0;
     }
 }