summaryrefslogtreecommitdiff
path: root/mi/miglblt.c
diff options
context:
space:
mode:
Diffstat (limited to 'mi/miglblt.c')
-rw-r--r--mi/miglblt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/miglblt.c b/mi/miglblt.c
index bc715aee9..ea199dc8c 100644
--- a/mi/miglblt.c
+++ b/mi/miglblt.c
@@ -141,7 +141,7 @@ miPolyGlyphBlt(
DoChangeGC(pGCtmp, GCFunction|GCForeground|GCBackground, gcvals, 0);
nbyLine = BitmapBytePad(width);
- pbits = xalloc(height*nbyLine);
+ pbits = malloc(height*nbyLine);
if (!pbits)
{
(*pDrawable->pScreen->DestroyPixmap)(pPixmap);
@@ -192,7 +192,7 @@ miPolyGlyphBlt(
x += pci->metrics.characterWidth;
}
(*pDrawable->pScreen->DestroyPixmap)(pPixmap);
- xfree(pbits);
+ free(pbits);
FreeScratchGC(pGCtmp);
}