summaryrefslogtreecommitdiff
path: root/src/glamo-kms-exa.c
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-06-22 17:26:49 +0200
committerThomas White <taw@bitwiz.org.uk>2010-06-26 21:17:50 +0200
commite43cf499d0df41eb6ca2a1a7c21af71e31207635 (patch)
tree3d2f8a7a45f1a9f0f10572b2c778f716b974e254 /src/glamo-kms-exa.c
parent2d96367657adb21b34742e76c3a92ba1a3961106 (diff)
Remove x*alloc/xfree calls deprecated in xserver 1.9 RC1
Diffstat (limited to 'src/glamo-kms-exa.c')
-rw-r--r--src/glamo-kms-exa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glamo-kms-exa.c b/src/glamo-kms-exa.c
index 6f57918..af48703 100644
--- a/src/glamo-kms-exa.c
+++ b/src/glamo-kms-exa.c
@@ -299,7 +299,7 @@ static void *GlamoKMSExaCreatePixmap(ScreenPtr screen, int size, int align)
GlamoPtr pGlamo = GlamoPTR(pScrn);
struct glamo_exa_pixmap_priv *new_priv;
- new_priv = xcalloc(1, sizeof(struct glamo_exa_pixmap_priv));
+ new_priv = calloc(1, sizeof(struct glamo_exa_pixmap_priv));
if (!new_priv)
return NULL;
@@ -311,7 +311,7 @@ static void *GlamoKMSExaCreatePixmap(ScreenPtr screen, int size, int align)
new_priv->bo = glamo_bo_open(pGlamo->bufmgr, 0, size, align,
GLAMO_GEM_DOMAIN_VRAM, 0);
if (!new_priv->bo) {
- xfree(new_priv);
+ free(new_priv);
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"Failed to create pixmap\n");
return NULL;
@@ -342,7 +342,7 @@ static void GlamoKMSExaDestroyPixmap(ScreenPtr pScreen, void *driverPriv)
if (driver_priv->bo)
glamo_bo_unref(driver_priv->bo);
- xfree(driver_priv);
+ free(driver_priv);
}
@@ -588,7 +588,7 @@ void GlamoKMSExaInit(ScrnInfoPtr pScrn)
} else {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"Failed to initialize EXA acceleration\n");
- xfree(pGlamo->exa);
+ free(pGlamo->exa);
pGlamo->exa = NULL;
}
}