summaryrefslogtreecommitdiff
path: root/driver/xf86-video-geode/src/gx_randr.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-12-07 21:54:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-12-07 21:54:12 +0000
commite9a46e6650b8ad888d7ce65bb3b286dad2ef20e8 (patch)
treec81a45d160184afa040ec3124ce736d69daf3e90 /driver/xf86-video-geode/src/gx_randr.c
parent54130b87c933a6c95d624fe91ff7c34d60d16801 (diff)
Update to xf86-video-geode 2.11.10. Tested on Alix 3C3.
Diffstat (limited to 'driver/xf86-video-geode/src/gx_randr.c')
-rw-r--r--driver/xf86-video-geode/src/gx_randr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/xf86-video-geode/src/gx_randr.c b/driver/xf86-video-geode/src/gx_randr.c
index 60d3cc6c9..719337163 100644
--- a/driver/xf86-video-geode/src/gx_randr.c
+++ b/driver/xf86-video-geode/src/gx_randr.c
@@ -346,12 +346,12 @@ GXRandRInit(ScreenPtr pScreen, int rotation)
return FALSE;
#endif
- pRandr = xcalloc(sizeof(XF86RandRInfoRec), 1);
+ pRandr = calloc(sizeof(XF86RandRInfoRec), 1);
if (pRandr == NULL)
return FALSE;
if (!RRScreenInit(pScreen)) {
- xfree(pRandr);
+ free(pRandr);
return FALSE;
}