From 39c6d1da8af563afa665d5bb149c9693e24c6eab Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Thu, 28 Apr 2011 17:31:52 +0200 Subject: Replace deprecated xalloc/xfree/xrealloc with malloc/free/realloc Signed-off-by: Julien Cristau --- src/atimode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/atimode.c') diff --git a/src/atimode.c b/src/atimode.c index d1b3198..00817f0 100644 --- a/src/atimode.c +++ b/src/atimode.c @@ -114,7 +114,7 @@ ATISwap if (!pATIHW->frame_buffer) { pATIHW->frame_buffer = - (pointer)xalloc(pATIHW->nBank * pATIHW->nPlane * 0x00010000U); + (pointer)malloc(pATIHW->nBank * pATIHW->nPlane * 0x00010000U); if (!pATIHW->frame_buffer) { xf86DrvMsg(iScreen, X_WARNING, -- cgit v1.2.3