summaryrefslogtreecommitdiff
path: root/miext/cw/cw.c
diff options
context:
space:
mode:
Diffstat (limited to 'miext/cw/cw.c')
-rw-r--r--miext/cw/cw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miext/cw/cw.c b/miext/cw/cw.c
index 247cb83e1..1959c8b73 100644
--- a/miext/cw/cw.c
+++ b/miext/cw/cw.c
@@ -480,7 +480,7 @@ miInitializeCompositeWrapper(ScreenPtr pScreen)
if (!dixRequestPrivate(cwGCKey, sizeof(cwGCRec)))
return;
- pScreenPriv = xalloc(sizeof(cwScreenRec));
+ pScreenPriv = malloc(sizeof(cwScreenRec));
if (!pScreenPriv)
return;
@@ -516,7 +516,7 @@ cwCloseScreen (int i, ScreenPtr pScreen)
if (ps)
cwFiniRender(pScreen);
- xfree((pointer)pScreenPriv);
+ free((pointer)pScreenPriv);
return (*pScreen->CloseScreen)(i, pScreen);
}