diff options
Diffstat (limited to 'driver/xf86-video-chips/src/ct_accel.c')
-rw-r--r-- | driver/xf86-video-chips/src/ct_accel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/xf86-video-chips/src/ct_accel.c b/driver/xf86-video-chips/src/ct_accel.c index 8d049ebac..3920b0a9e 100644 --- a/driver/xf86-video-chips/src/ct_accel.c +++ b/driver/xf86-video-chips/src/ct_accel.c @@ -1181,7 +1181,7 @@ CTNAME(CacheMonoStipple)(ScrnInfoPtr pScrn, PixmapPtr pPix) } else funcNo = 2; pad = (((pCache->w * bpp) + 31) >> 5) << 2; - dstPtr = data = (unsigned char*)xalloc(pad * pCache->h); + dstPtr = data = malloc(pad * pCache->h); srcPtr = (unsigned char*)pPix->devPrivate.ptr; StippleFunc = StippleTab[funcNo]; @@ -1209,7 +1209,7 @@ CTNAME(CacheMonoStipple)(ScrnInfoPtr pScrn, PixmapPtr pPix) pScrn, pCache->x, pCache->y, pCache->w, pCache->h, data, pad, bpp, pScrn->depth); - xfree(data); + free(data); return pCache; } |