summaryrefslogtreecommitdiff
path: root/hw/xfree86/xaa/xaaStateChange.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/xaa/xaaStateChange.c')
-rw-r--r--hw/xfree86/xaa/xaaStateChange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/xaa/xaaStateChange.c b/hw/xfree86/xaa/xaaStateChange.c
index f33261453..0e86e67e4 100644
--- a/hw/xfree86/xaa/xaaStateChange.c
+++ b/hw/xfree86/xaa/xaaStateChange.c
@@ -1500,7 +1500,7 @@ XAAInitStateWrap(ScreenPtr pScreen, XAAInfoRecPtr infoRec)
XAAStateWrapPtr pStatePriv;
int i = 0;
- if(!(pStatePriv = xalloc(sizeof(XAAStateWrapRec)))) return FALSE;
+ if(!(pStatePriv = malloc(sizeof(XAAStateWrapRec)))) return FALSE;
dixSetPrivate(&pScreen->devPrivates, XAAStateKey, pStatePriv);
pStatePriv->RestoreAccelState = infoRec->RestoreAccelState;
pStatePriv->pScrn = pScrn;