diff options
Diffstat (limited to 'mfb/mfbfillrct.c')
-rw-r--r-- | mfb/mfbfillrct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mfb/mfbfillrct.c b/mfb/mfbfillrct.c index f9209d096..594c7f01b 100644 --- a/mfb/mfbfillrct.c +++ b/mfb/mfbfillrct.c @@ -118,7 +118,7 @@ mfbPolyFillRect(pDrawable, pGC, nrectFill, prectInit) numRects = REGION_NUM_RECTS(prgnClip) * nrectFill; if (numRects > NUM_STACK_RECTS) { - pboxClippedBase = (BoxPtr)ALLOCATE_LOCAL(numRects * sizeof(BoxRec)); + pboxClippedBase = (BoxPtr)xalloc(numRects * sizeof(BoxRec)); if (!pboxClippedBase) return; } @@ -222,5 +222,5 @@ mfbPolyFillRect(pDrawable, pGC, nrectFill, prectInit) if (pboxClipped != pboxClippedBase) (*pfn) (pDrawable,pboxClipped-pboxClippedBase, pboxClippedBase, alu, ppix); if (pboxClippedBase != stackRects) - DEALLOCATE_LOCAL(pboxClippedBase); + xfree(pboxClippedBase); } |