Mercurial > hg > xemacs-beta
diff src/glyphs-x.c @ 4982:3c3c1d139863
Automatic merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 05 Feb 2010 11:25:00 -0600 |
parents | 4aebb0131297 16112448d484 |
children | 6f2158fa75ed |
line wrap: on
line diff
--- a/src/glyphs-x.c Fri Feb 05 11:02:24 2010 -0600 +++ b/src/glyphs-x.c Fri Feb 05 11:25:00 2010 -0600 @@ -272,7 +272,7 @@ #endif } } - xfree (qtable, quant_table *); + xfree (qtable); } else { unsigned long rshift,gshift,bshift,rbits,gbits,bbits,junk; junk = vis->red_mask; @@ -438,7 +438,7 @@ XFreePixmap (dpy, IMAGE_INSTANCE_X_PIXMAP_SLICE (p,i)); IMAGE_INSTANCE_X_PIXMAP_SLICE (p, i) = 0; } - xfree (IMAGE_INSTANCE_X_PIXMAP_SLICES (p), Pixmap *); + xfree (IMAGE_INSTANCE_X_PIXMAP_SLICES (p)); IMAGE_INSTANCE_X_PIXMAP_SLICES (p) = 0; } @@ -466,11 +466,11 @@ && IMAGE_INSTANCE_TYPE (p) != IMAGE_SUBWINDOW && IMAGE_INSTANCE_X_PIXELS (p)) { - xfree (IMAGE_INSTANCE_X_PIXELS (p), unsigned long *); + xfree (IMAGE_INSTANCE_X_PIXELS (p)); IMAGE_INSTANCE_X_PIXELS (p) = 0; } - xfree (p->data, void *); + xfree (p->data); p->data = 0; } @@ -1033,7 +1033,7 @@ if (!ximage) { if (pixtbl) - xfree (pixtbl, unsigned long *); + xfree (pixtbl); signal_image_error ("EImage to XImage conversion failed", instantiator); } @@ -1051,7 +1051,7 @@ { if (ximage->data) { - xfree (ximage->data, char *); + xfree (ximage->data); ximage->data = 0; } XDestroyImage (ximage); @@ -1474,8 +1474,8 @@ int i; for (i = 0; i < (int) xpmattrs.numsymbols; i++) - xfree (color_symbols[i].name, char *); - xfree (color_symbols, XpmColorSymbol *); + xfree (color_symbols[i].name); + xfree (color_symbols); xpmattrs.colorsymbols = 0; /* in case XpmFreeAttr is too smart... */ xpmattrs.numsymbols = 0; }