summaryrefslogtreecommitdiff
path: root/Xext/xace.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xext/xace.c')
-rw-r--r--Xext/xace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/xace.c b/Xext/xace.c
index bf0e98fb0..53f4b4dee 100644
--- a/Xext/xace.c
+++ b/Xext/xace.c
@@ -274,7 +274,7 @@ XaceCensorImage(
/* convert region to list-of-rectangles for PolyFillRect */
- pRects = xalloc(nRects * sizeof(xRectangle));
+ pRects = malloc(nRects * sizeof(xRectangle));
if (!pRects)
{
failed = TRUE;
@@ -326,7 +326,7 @@ XaceCensorImage(
*/
bzero(pBuf, (int)(widthBytesLine * h));
}
- if (pRects) xfree(pRects);
+ if (pRects) free(pRects);
if (pScratchGC) FreeScratchGC(pScratchGC);
if (pPix) FreeScratchPixmapHeader(pPix);
}