diff options
Diffstat (limited to 'dix/main.c')
-rw-r--r-- | dix/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dix/main.c b/dix/main.c index 2cff59c8e..3e500ba4d 100644 --- a/dix/main.c +++ b/dix/main.c @@ -174,7 +174,7 @@ int main(int argc, char *argv[], char *envp[]) InitProcVectors(); for (i=1; i<MAXCLIENTS; i++) clients[i] = NullClient; - serverClient = xalloc(sizeof(ClientRec)); + serverClient = malloc(sizeof(ClientRec)); if (!serverClient) FatalError("couldn't create server client"); InitClient(serverClient, 0, (pointer)NULL); @@ -314,7 +314,7 @@ int main(int argc, char *argv[], char *envp[]) FreeDefaultStipple(i); (* screenInfo.screens[i]->CloseScreen)(i, screenInfo.screens[i]); dixFreePrivates(screenInfo.screens[i]->devPrivates); - xfree(screenInfo.screens[i]); + free(screenInfo.screens[i]); screenInfo.numScreens = i; } FreeFonts(); @@ -337,7 +337,7 @@ int main(int argc, char *argv[], char *envp[]) break; } - xfree(ConnectionInfo); + free(ConnectionInfo); ConnectionInfo = NULL; } return(0); |