Mercurial > hg > xemacs-beta
diff src/imgproc.c @ 5125:b5df3737028a ben-lisp-object
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 24 Feb 2010 01:58:04 -0600 |
parents | 16112448d484 |
children | 6c6d78781d59 |
line wrap: on
line diff
--- a/src/imgproc.c Wed Jan 20 07:05:57 2010 -0600 +++ b/src/imgproc.c Wed Feb 24 01:58:04 2010 -0600 @@ -536,7 +536,7 @@ qt->num_active_colors = i; /* We're done with the boxes now */ - xfree (box_list, Colorbox *); + xfree (box_list); qt->freeboxes = qt->usedboxes = NULL; /* @@ -551,13 +551,13 @@ /* 5c: done with ColorCells */ for (i = 0; i < C_LEN*C_LEN*C_LEN; i++) if (qt->ColorCells[i]) - xfree (qt->ColorCells[i], C_cell *); - xfree (qt->ColorCells, C_cell **); + xfree (qt->ColorCells[i]); + xfree (qt->ColorCells); if (res) { /* we failed in memory allocation, so clean up and leave */ - xfree(qt, quant_table *); + xfree (qt); return NULL; }