diff options
Diffstat (limited to 'mi/mizerarc.c')
-rw-r--r-- | mi/mizerarc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mi/mizerarc.c b/mi/mizerarc.c index 9d4715a30..947b85aac 100644 --- a/mi/mizerarc.c +++ b/mi/mizerarc.c @@ -744,7 +744,7 @@ miZeroPolyArc(pDraw, pGC, narcs, parcs) dospans = (pGC->fillStyle != FillSolid); if (dospans) { - widths = (int *)ALLOCATE_LOCAL(sizeof(int) * numPts); + widths = (int *)xalloc(sizeof(int) * numPts); if (!widths) return; maxw = 0; @@ -761,12 +761,12 @@ miZeroPolyArc(pDraw, pGC, narcs, parcs) (unsigned char *) pGC->dash, (int)pGC->numInDashList, &dinfo.dashOffsetInit); } - points = (DDXPointPtr)ALLOCATE_LOCAL(sizeof(DDXPointRec) * numPts); + points = (DDXPointPtr)xalloc(sizeof(DDXPointRec) * numPts); if (!points) { if (dospans) { - DEALLOCATE_LOCAL(widths); + xfree(widths); } return; } @@ -843,9 +843,9 @@ miZeroPolyArc(pDraw, pGC, narcs, parcs) } } } - DEALLOCATE_LOCAL(points); + xfree(points); if (dospans) { - DEALLOCATE_LOCAL(widths); + xfree(widths); } } |