summaryrefslogtreecommitdiff
path: root/hw/xfree86/xaa/xaaImage.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/xaa/xaaImage.c')
-rw-r--r--hw/xfree86/xaa/xaaImage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/xaa/xaaImage.c b/hw/xfree86/xaa/xaaImage.c
index 4933beea3..30caa2a9a 100644
--- a/hw/xfree86/xaa/xaaImage.c
+++ b/hw/xfree86/xaa/xaaImage.c
@@ -442,7 +442,7 @@ XAAPutImage(
TheRect.height = h;
if(MaxBoxes > (infoRec->PreAllocSize/sizeof(BoxRec))) {
- pClipBoxes = xalloc(MaxBoxes * sizeof(BoxRec));
+ pClipBoxes = malloc(MaxBoxes * sizeof(BoxRec));
if(!pClipBoxes) return;
} else pClipBoxes = (BoxPtr)infoRec->PreAllocMem;
@@ -514,7 +514,7 @@ XAAPutImage(
}
if(pClipBoxes != (BoxPtr)infoRec->PreAllocMem)
- xfree(pClipBoxes);
+ free(pClipBoxes);
} else
XAAFallbackOps.PutImage(pDraw, pGC, depth, x, y, w, h, leftPad,
format, pImage);