summaryrefslogtreecommitdiff
path: root/src/gx_randr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gx_randr.c')
-rw-r--r--src/gx_randr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gx_randr.c b/src/gx_randr.c
index a3aa5e4..1593c97 100644
--- a/src/gx_randr.c
+++ b/src/gx_randr.c
@@ -344,12 +344,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;
}