summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/identity/id_context.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-04-23 21:52:44 +0100
committerJosé Fonseca <[email protected]>2010-04-23 21:53:08 +0100
commit2ce1d6696b1415fcc340bcf888904e43c2792c68 (patch)
tree93f6c1d3f50e084a6947195abbdcf671a72482da /src/gallium/drivers/identity/id_context.c
parent4aa4fe8e2103ee43e77f404ef790125dd4d690e5 (diff)
gallium: s/free/FREE/ and same for friends.
Based on Stephen Johnson's feedback.
Diffstat (limited to 'src/gallium/drivers/identity/id_context.c')
-rw-r--r--src/gallium/drivers/identity/id_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/identity/id_context.c b/src/gallium/drivers/identity/id_context.c
index 630cdb5e491..0bc8bf21966 100644
--- a/src/gallium/drivers/identity/id_context.c
+++ b/src/gallium/drivers/identity/id_context.c
@@ -42,7 +42,7 @@ identity_destroy(struct pipe_context *_pipe)
pipe->destroy(pipe);
- free(id_pipe);
+ FREE(id_pipe);
}
static void
@@ -708,7 +708,7 @@ identity_create_sampler_view(struct pipe_context *pipe,
struct identity_resource *id_resource = identity_resource(texture);
struct pipe_context *pipe_unwrapped = id_pipe->pipe;
struct pipe_resource *texture_unwrapped = id_resource->resource;
- struct identity_sampler_view *view = malloc(sizeof(struct identity_sampler_view));
+ struct identity_sampler_view *view = MALLOC(sizeof(struct identity_sampler_view));
view->sampler_view = pipe_unwrapped->create_sampler_view(pipe_unwrapped,
texture_unwrapped,
@@ -736,7 +736,7 @@ identity_sampler_view_destroy(struct pipe_context *pipe,
view_unwrapped);
pipe_resource_reference(&view->texture, NULL);
- free(view);
+ FREE(view);
}
static struct pipe_transfer *