diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2011-11-05 14:55:10 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2011-11-05 14:55:10 +0000 |
commit | 40fc505b59dc16011eb8a6b9b050c6cdefbeb411 (patch) | |
tree | fd0450964ccb3ce438dc3e4ade74a90a79b9b7ea /driver/xf86-video-wsudl | |
parent | 7c6bbc9391bd9e7cdb7bed2c4c05b7269892c4a3 (diff) |
xalloc/xfree -> malloc/free
Diffstat (limited to 'driver/xf86-video-wsudl')
-rw-r--r-- | driver/xf86-video-wsudl/src/wsudl_driver.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/driver/xf86-video-wsudl/src/wsudl_driver.c b/driver/xf86-video-wsudl/src/wsudl_driver.c index 15e96741a..7e38d96b5 100644 --- a/driver/xf86-video-wsudl/src/wsudl_driver.c +++ b/driver/xf86-video-wsudl/src/wsudl_driver.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsudl_driver.c,v 1.7 2010/08/29 15:20:40 matthieu Exp $ */ +/* $OpenBSD: wsudl_driver.c,v 1.8 2011/11/05 14:55:09 matthieu Exp $ */ /* * Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org> @@ -328,7 +328,7 @@ WsudlProbe(DriverPtr drv, int flags) } } - xfree(devSections); + free(devSections); return (foundScreen); } @@ -440,14 +440,14 @@ WsudlPreInit(ScrnInfoPtr pScrn, int flags) /* handle options */ xf86CollectOptions(pScrn, NULL); - if (!(fPtr->Options = xalloc(sizeof(WsudlOptions)))) + if (!(fPtr->Options = malloc(sizeof(WsudlOptions)))) return (FALSE); memcpy(fPtr->Options, WsudlOptions, sizeof(WsudlOptions)); xf86ProcessOptions(pScrn->scrnIndex, fPtr->pEnt->device->options, fPtr->Options); /* fake video mode struct */ - mode = (DisplayModePtr)xalloc(sizeof(DisplayModeRec)); + mode = (DisplayModePtr)malloc(sizeof(DisplayModeRec)); mode->prev = mode; mode->next = mode; mode->name = "wsudl current mode"; @@ -507,7 +507,7 @@ WsudlFreeRec(ScrnInfoPtr pScrn) if (pScrn->driverPrivate == NULL) return; - xfree(pScrn->driverPrivate); + free(pScrn->driverPrivate); pScrn->driverPrivate = NULL; } |