summaryrefslogtreecommitdiff
path: root/hw/xfree86/xaa/xaaCpyPlane.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/xaa/xaaCpyPlane.c')
-rw-r--r--hw/xfree86/xaa/xaaCpyPlane.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/xfree86/xaa/xaaCpyPlane.c b/hw/xfree86/xaa/xaaCpyPlane.c
index aa4c0407c..e3010eafb 100644
--- a/hw/xfree86/xaa/xaaCpyPlane.c
+++ b/hw/xfree86/xaa/xaaCpyPlane.c
@@ -131,7 +131,7 @@ XAACopyPlaneNtoNColorExpand(
h = height = pbox->y2 - pbox->y1;
pitch = BitmapBytePad(width);
- if(!(data = xcalloc(height, pitch)))
+ if(!(data = calloc(height, pitch)))
goto ALLOC_FAILED;
dataPtr = data;
@@ -151,7 +151,7 @@ XAACopyPlaneNtoNColorExpand(
pbox->x1, pbox->y1, width, height, data, pitch, 0,
pGC->fgPixel, pGC->bgPixel, pGC->alu, pGC->planemask);
- xfree(data);
+ free(data);
ALLOC_FAILED:
@@ -184,7 +184,7 @@ XAAPushPixelsSolidColorExpansion(
TheRect.height = dy;
if(MaxBoxes > (infoRec->PreAllocSize/sizeof(BoxRec))) {
- pClipBoxes = xalloc(MaxBoxes * sizeof(BoxRec));
+ pClipBoxes = malloc(MaxBoxes * sizeof(BoxRec));
if(!pClipBoxes) return;
} else pClipBoxes = (BoxPtr)infoRec->PreAllocMem;
@@ -203,6 +203,6 @@ XAAPushPixelsSolidColorExpansion(
}
if(pClipBoxes != (BoxPtr)infoRec->PreAllocMem)
- xfree(pClipBoxes);
+ free(pClipBoxes);
}