From 483f78a3438711a8851cdcc322910abefee6774c Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 26 Sep 2011 22:51:36 -0400 Subject: Remove xalloc/xcalloc/xrealloc/xfree Signed-off-by: Matt Turner --- src/impact_driver.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/impact_driver.c b/src/impact_driver.c index 924db4a..2c0e5ec 100644 --- a/src/impact_driver.c +++ b/src/impact_driver.c @@ -208,7 +208,7 @@ ImpactFreeRec(ScrnInfoPtr pScrn) { if (!pScrn->driverPrivate) return TRUE; - xfree(pScrn->driverPrivate); + free(pScrn->driverPrivate); pScrn->driverPrivate = 0; return TRUE; } @@ -277,7 +277,7 @@ ImpactProbe(DriverPtr drv, int flags) } } } - xfree(devSections); + free(devSections); return foundScreen; } @@ -391,7 +391,7 @@ ImpactPreInit(ScrnInfoPtr pScrn, int flags) /* Fill in pScrn->options) */ xf86CollectOptions(pScrn, NULL); - if ( !(pImpact->Options = xalloc(sizeof(ImpactOptions))) ) + if ( !(pImpact->Options = malloc(sizeof(ImpactOptions))) ) goto out_freerec; memcpy(pImpact->Options, ImpactOptions, sizeof(ImpactOptions)); @@ -490,7 +490,7 @@ ImpactPreInit(ScrnInfoPtr pScrn, int flags) out_freemod: /* xf86UnloadSubModule(pFbMod); */ /* Unload FB module */ out_freeopt: - xfree(pImpact->Options); + free(pImpact->Options); out_freerec: ImpactFreeRec(pScrn); return FALSE; -- cgit v1.2.3