diff options
Diffstat (limited to 'src/g80_driver.c')
-rw-r--r-- | src/g80_driver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/g80_driver.c b/src/g80_driver.c index abdb37e..551abe3 100644 --- a/src/g80_driver.c +++ b/src/g80_driver.c @@ -80,7 +80,7 @@ static Bool G80GetRec(ScrnInfoPtr pScrn) { if(pScrn->driverPrivate == NULL) - pScrn->driverPrivate = xcalloc(sizeof(G80Rec), 1); + pScrn->driverPrivate = calloc(sizeof(G80Rec), 1); return (pScrn->driverPrivate != NULL); } @@ -88,7 +88,7 @@ G80GetRec(ScrnInfoPtr pScrn) static void G80FreeRec(ScrnInfoPtr pScrn) { - xfree(pScrn->driverPrivate); + free(pScrn->driverPrivate); pScrn->driverPrivate = NULL; } @@ -263,7 +263,7 @@ G80PreInit(ScrnInfoPtr pScrn, int flags) /* Process options */ xf86CollectOptions(pScrn, NULL); - if(!(pNv->Options = xalloc(sizeof(G80Options)))) goto fail; + if(!(pNv->Options = malloc(sizeof(G80Options)))) goto fail; memcpy(pNv->Options, G80Options, sizeof(G80Options)); xf86ProcessOptions(pScrn->scrnIndex, pScrn->options, pNv->Options); |