diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-06-22 17:26:49 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-06-26 21:17:50 +0200 |
commit | e43cf499d0df41eb6ca2a1a7c21af71e31207635 (patch) | |
tree | 3d2f8a7a45f1a9f0f10572b2c778f716b974e254 /src/glamo-cmdq.c | |
parent | 2d96367657adb21b34742e76c3a92ba1a3961106 (diff) |
Remove x*alloc/xfree calls deprecated in xserver 1.9 RC1
Diffstat (limited to 'src/glamo-cmdq.c')
-rw-r--r-- | src/glamo-cmdq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glamo-cmdq.c b/src/glamo-cmdq.c index 38950d7..0413452 100644 --- a/src/glamo-cmdq.c +++ b/src/glamo-cmdq.c @@ -176,7 +176,7 @@ GLAMOCMDQInit(ScrnInfoPtr pScrn, size_t mem_start, size_t mem_size) pGlamo->ring_len = (CQ_LEN + 1) * 1024; - buf = (MemBuf *)xcalloc(1, sizeof(MemBuf) + pGlamo->ring_len); + buf = (MemBuf *)calloc(1, sizeof(MemBuf) + pGlamo->ring_len); if (!buf) { return FALSE; @@ -215,7 +215,7 @@ GLAMOCMDQFini(ScrnInfoPtr pScrn) { GLAMOCMDQDisable(pScrn); if (pGlamo->cmd_queue) { - xfree(pGlamo->cmd_queue); + free(pGlamo->cmd_queue); pGlamo->cmd_queue = NULL; } } |