summaryrefslogtreecommitdiff
path: root/src/nv30_exa.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-06-09 16:12:28 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-06-09 16:12:28 +1000
commit65153490f7d74d45a92adbd9c5e2bbe11c884b00 (patch)
treefb75d243aa776500eed1c9266ff140e4e313ffb4 /src/nv30_exa.c
parent2958cf464dca9761f0fa21c8dd2d8fa8c8a96791 (diff)
downloadxorg-driver-xf86-video-nouveau-65153490f7d74d45a92adbd9c5e2bbe11c884b00.tar.gz
use libc directly for [cm]alloc/free
Diffstat (limited to 'src/nv30_exa.c')
-rw-r--r--src/nv30_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv30_exa.c b/src/nv30_exa.c
index b736fb3..b34b29c 100644
--- a/src/nv30_exa.c
+++ b/src/nv30_exa.c
@@ -109,7 +109,7 @@ NV30EXAHackupA8Shaders(ScrnInfoPtr pScrn)
nv_shader_t *def, *a8;
def = nv40_fp_map[s];
- a8 = xcalloc(1, sizeof(nv_shader_t));
+ a8 = calloc(1, sizeof(nv_shader_t));
a8->card_priv.NV30FP.num_regs = def->card_priv.NV30FP.num_regs;
a8->size = def->size + 4;
memcpy(a8->data, def->data, def->size * sizeof(uint32_t));