summaryrefslogtreecommitdiff
path: root/hw/xfree86/xaa/xaaBitBlt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/xaa/xaaBitBlt.c')
-rw-r--r--hw/xfree86/xaa/xaaBitBlt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/xaa/xaaBitBlt.c b/hw/xfree86/xaa/xaaBitBlt.c
index ebba74e55..75033bcca 100644
--- a/hw/xfree86/xaa/xaaBitBlt.c
+++ b/hw/xfree86/xaa/xaaBitBlt.c
@@ -186,7 +186,7 @@ XAABitBlt(
/* Do bit blitting */
numRects = REGION_NUM_RECTS(&rgnDst);
if (numRects && width && height) {
- if(!(pptSrc = (DDXPointPtr)xalloc(numRects *
+ if(!(pptSrc = (DDXPointPtr)malloc(numRects *
sizeof(DDXPointRec)))) {
REGION_UNINIT(pGC->pScreen, &rgnDst);
if (freeSrcClip)
@@ -201,7 +201,7 @@ XAABitBlt(
}
(*doBitBlt) (pSrcDrawable, pDstDrawable, pGC, &rgnDst, pptSrc);
- xfree(pptSrc);
+ free(pptSrc);
}
prgnExposed = NULL;