summaryrefslogtreecommitdiff
path: root/fb/fballpriv.c
diff options
context:
space:
mode:
Diffstat (limited to 'fb/fballpriv.c')
-rw-r--r--fb/fballpriv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb/fballpriv.c b/fb/fballpriv.c
index c40796c11..569391b93 100644
--- a/fb/fballpriv.c
+++ b/fb/fballpriv.c
@@ -61,7 +61,7 @@ fbAllocatePrivates(ScreenPtr pScreen, DevPrivateKey *pGCKey)
{
FbScreenPrivPtr pScreenPriv;
- pScreenPriv = (FbScreenPrivPtr) xalloc (sizeof (FbScreenPrivRec));
+ pScreenPriv = (FbScreenPrivPtr) malloc(sizeof (FbScreenPrivRec));
if (!pScreenPriv)
return FALSE;
dixSetPrivate(&pScreen->devPrivates, fbScreenPrivateKey, pScreenPriv);