summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86VGAarbiter.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/common/xf86VGAarbiter.c')
-rw-r--r--hw/xfree86/common/xf86VGAarbiter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86VGAarbiter.c b/hw/xfree86/common/xf86VGAarbiter.c
index 52a8b9a60..4a736fc7a 100644
--- a/hw/xfree86/common/xf86VGAarbiter.c
+++ b/hw/xfree86/common/xf86VGAarbiter.c
@@ -178,7 +178,7 @@ xf86VGAarbiterWrapFunctions(void)
if (!dixRequestPrivate(VGAarbiterGCKey, sizeof(VGAarbiterGCRec)))
return FALSE;
- if (!(pScreenPriv = xalloc(sizeof(VGAarbiterScreenRec))))
+ if (!(pScreenPriv = malloc(sizeof(VGAarbiterScreenRec))))
return FALSE;
dixSetPrivate(&pScreen->devPrivates, VGAarbiterScreenKey, pScreenPriv);
@@ -250,7 +250,7 @@ VGAarbiterCloseScreen (int i, ScreenPtr pScreen)
UNWRAP_SCREEN_INFO(FreeScreen);
UNWRAP_SPRITE;
- xfree ((pointer) pScreenPriv);
+ free((pointer) pScreenPriv);
xf86VGAarbiterLock(xf86Screens[i]);
val = (*pScreen->CloseScreen) (i, pScreen);
xf86VGAarbiterUnlock(xf86Screens[i]);