summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Watry <awatry@gmail.com>2013-11-08 13:53:10 -0600
committerAaron Watry <awatry@gmail.com>2013-12-23 07:24:50 -0600
commit0bd858d7ff4a16228164e3157aca846edeb6c228 (patch)
tree255880e30c046ded8b6ef6de0e0fdf183519351d
parente19717d075bd26c16e12564ed578ff519a5ce57a (diff)
r600/compute: Use the correct FREE macro when deleting compute state
Reviewed-by: Tom Stellard <thomas.stellard@amd.com> CC: "10.0" <mesa-stable@lists.freedesktop.org>
-rw-r--r--src/gallium/drivers/r600/evergreen_compute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c
index c518d865f7c..a2db69b6fac 100644
--- a/src/gallium/drivers/r600/evergreen_compute.c
+++ b/src/gallium/drivers/r600/evergreen_compute.c
@@ -246,7 +246,7 @@ void evergreen_delete_compute_state(struct pipe_context *ctx, void* state)
}
#endif
- free(shader);
+ FREE(shader);
}
static void evergreen_bind_compute_state(struct pipe_context *ctx_, void *state)