From 0bd858d7ff4a16228164e3157aca846edeb6c228 Mon Sep 17 00:00:00 2001 From: Aaron Watry Date: Fri, 8 Nov 2013 13:53:10 -0600 Subject: [PATCH] r600/compute: Use the correct FREE macro when deleting compute state Reviewed-by: Tom Stellard CC: "10.0" --- src/gallium/drivers/r600/evergreen_compute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2