summaryrefslogtreecommitdiff
path: root/Xext/sleepuntil.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xext/sleepuntil.c')
-rw-r--r--Xext/sleepuntil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xext/sleepuntil.c b/Xext/sleepuntil.c
index 075f428d4..3fd06acd7 100644
--- a/Xext/sleepuntil.c
+++ b/Xext/sleepuntil.c
@@ -94,7 +94,7 @@ ClientSleepUntil (ClientPtr client,
SertafiedGeneration = serverGeneration;
BlockHandlerRegistered = FALSE;
}
- pRequest = xalloc (sizeof (SertafiedRec));
+ pRequest = malloc(sizeof (SertafiedRec));
if (!pRequest)
return FALSE;
pRequest->pClient = client;
@@ -107,7 +107,7 @@ ClientSleepUntil (ClientPtr client,
SertafiedWakeupHandler,
(pointer) 0))
{
- xfree (pRequest);
+ free(pRequest);
return FALSE;
}
BlockHandlerRegistered = TRUE;
@@ -161,7 +161,7 @@ SertafiedDelete (pointer value, XID id)
}
if (pRequest->notifyFunc)
(*pRequest->notifyFunc) (pRequest->pClient, pRequest->closure);
- xfree (pRequest);
+ free(pRequest);
return TRUE;
}