summaryrefslogtreecommitdiff
path: root/composite/compoverlay.c
diff options
context:
space:
mode:
Diffstat (limited to 'composite/compoverlay.c')
-rw-r--r--composite/compoverlay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/composite/compoverlay.c b/composite/compoverlay.c
index 6d73f003d..2158cdb5a 100644
--- a/composite/compoverlay.c
+++ b/composite/compoverlay.c
@@ -62,7 +62,7 @@ compFreeOverlayClient (CompOverlayClientPtr pOcToDel)
{
if (pOc == pOcToDel) {
*pPrev = pOc->pNext;
- xfree (pOc);
+ free(pOc);
break;
}
}
@@ -97,7 +97,7 @@ compCreateOverlayClient (ScreenPtr pScreen, ClientPtr pClient)
CompScreenPtr cs = GetCompScreen(pScreen);
CompOverlayClientPtr pOc;
- pOc = (CompOverlayClientPtr) xalloc(sizeof(CompOverlayClientRec));
+ pOc = (CompOverlayClientPtr) malloc(sizeof(CompOverlayClientRec));
if (pOc == NULL)
return NULL;