diff options
author | Matt Turner <mattst88@gmail.com> | 2011-09-26 22:46:51 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2012-01-25 12:37:03 -0500 |
commit | 70321db733c380a3b5f2198d733d75916f54c10b (patch) | |
tree | 4c70e41010765102693ede80bd69b727ed2babdf | |
parent | 5ab0bf04c400f3d7d97c931b5d9e1f0318cc6f59 (diff) |
Remove xalloc/xcalloc/xrealloc/xfree
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | src/ark_driver.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ark_driver.c b/src/ark_driver.c index e8d320c..87d2754 100644 --- a/src/ark_driver.c +++ b/src/ark_driver.c @@ -174,7 +174,7 @@ static void ARKFreeRec(ScrnInfoPtr pScrn) if (!pScrn->driverPrivate) return; - xfree(pScrn->driverPrivate); + free(pScrn->driverPrivate); pScrn->driverPrivate = NULL; } @@ -208,7 +208,7 @@ static Bool ARKProbe(DriverPtr drv, int flags) devSections, numDevSections, drv, &usedChips); - xfree(devSections); + free(devSections); if (numUsed <= 0) return FALSE; @@ -235,7 +235,7 @@ static Bool ARKProbe(DriverPtr drv, int flags) foundScreen = TRUE; } - xfree(usedChips); + free(usedChips); return foundScreen; } @@ -306,7 +306,7 @@ static Bool ARKPreInit(ScrnInfoPtr pScrn, int flags) pARK = ARKPTR(pScrn); xf86CollectOptions(pScrn, NULL); - if (!(pARK->Options = xalloc(sizeof(ARKOptions)))) + if (!(pARK->Options = malloc(sizeof(ARKOptions)))) return FALSE; memcpy(pARK->Options, ARKOptions, sizeof(ARKOptions)); xf86ProcessOptions(pScrn->scrnIndex, pScrn->options, pARK->Options); @@ -355,7 +355,7 @@ static Bool ARKPreInit(ScrnInfoPtr pScrn, int flags) pARK->ChipRev = pARK->PciInfo->revision; #endif } - xfree(pEnt); + free(pEnt); xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Chipset: \"%s\"\n", pScrn->chipset); |