summaryrefslogtreecommitdiff
path: root/hw/kdrive/ephyr/ephyr_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/ephyr/ephyr_draw.c')
-rw-r--r--hw/kdrive/ephyr/ephyr_draw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/kdrive/ephyr/ephyr_draw.c b/hw/kdrive/ephyr/ephyr_draw.c
index f9fac8007..f25a9b43b 100644
--- a/hw/kdrive/ephyr/ephyr_draw.c
+++ b/hw/kdrive/ephyr/ephyr_draw.c
@@ -432,13 +432,13 @@ ephyrDrawInit(ScreenPtr pScreen)
EphyrFakexaPriv *fakexa;
Bool success;
- fakexa = xcalloc(1, sizeof(*fakexa));
+ fakexa = calloc(1, sizeof(*fakexa));
if (fakexa == NULL)
return FALSE;
fakexa->exa = exaDriverAlloc();
if (fakexa->exa == NULL) {
- xfree(fakexa);
+ free(fakexa);
return FALSE;
}
@@ -487,8 +487,8 @@ ephyrDrawInit(ScreenPtr pScreen)
scrpriv->fakexa = fakexa;
} else {
ErrorF("Failed to initialize EXA\n");
- xfree(fakexa->exa);
- xfree(fakexa);
+ free(fakexa->exa);
+ free(fakexa);
}
return success;