diff options
author | José Fonseca <[email protected]> | 2010-04-23 21:52:44 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-04-23 21:53:08 +0100 |
commit | 2ce1d6696b1415fcc340bcf888904e43c2792c68 (patch) | |
tree | 93f6c1d3f50e084a6947195abbdcf671a72482da /src/gallium/drivers/trace/tr_context.c | |
parent | 4aa4fe8e2103ee43e77f404ef790125dd4d690e5 (diff) |
gallium: s/free/FREE/ and same for friends.
Based on Stephen Johnson's feedback.
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.c')
-rw-r--r-- | src/gallium/drivers/trace/tr_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c index 8216c06260f..71ba1e909df 100644 --- a/src/gallium/drivers/trace/tr_context.c +++ b/src/gallium/drivers/trace/tr_context.c @@ -1142,12 +1142,12 @@ trace_context_set_vertex_buffers(struct pipe_context *_pipe, trace_dump_arg_end(); if (num_buffers) { - struct pipe_vertex_buffer *_buffers = malloc(num_buffers * sizeof(*_buffers)); + struct pipe_vertex_buffer *_buffers = MALLOC(num_buffers * sizeof(*_buffers)); memcpy(_buffers, buffers, num_buffers * sizeof(*_buffers)); for (i = 0; i < num_buffers; i++) _buffers[i].buffer = trace_resource_unwrap(tr_ctx, buffers[i].buffer); pipe->set_vertex_buffers(pipe, num_buffers, _buffers); - free(_buffers); + FREE(_buffers); } else { pipe->set_vertex_buffers(pipe, num_buffers, NULL); } |