diff src/xgccache.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 b39c14581166
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/xgccache.c	Mon Sep 29 21:53:04 2003 +0000
+++ b/src/xgccache.c	Tue Sep 30 15:27:01 2003 +0000
@@ -143,13 +143,13 @@
     {
       XFreeGC (cache->dpy, rest->gc);
       next = rest->next;
-      xfree (rest);
+      xfree (rest, struct gc_cache_cell *);
       rest = next;
     }
 #ifdef GCCACHE_HASH
   free_hash_table (cache->table);
 #endif
-  xfree (cache);
+  xfree (cache, struct gc_cache *);
 }
 
 GC