summaryrefslogtreecommitdiff
path: root/hw/xquartz/darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz/darwin.c')
-rw-r--r--hw/xquartz/darwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xquartz/darwin.c b/hw/xquartz/darwin.c
index 1fb158b26..580fe4ae0 100644
--- a/hw/xquartz/darwin.c
+++ b/hw/xquartz/darwin.c
@@ -194,7 +194,7 @@ static Bool DarwinScreenInit(int index, ScreenPtr pScreen, int argc, char **argv
}
// allocate space for private per screen storage
- dfb = xalloc(sizeof(DarwinFramebufferRec));
+ dfb = malloc(sizeof(DarwinFramebufferRec));
// SCREEN_PRIV(pScreen) = dfb;
dixSetPrivate(&pScreen->devPrivates, darwinScreenKey, dfb);