[Mesa-stable] [PATCH 5/8] r600/compute: Use the correct FREE macro when deleting compute state

Aaron Watry awatry at gmail.com
Tue Dec 17 14:34:38 PST 2013


Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

CC: "10.0" <mesa-stable at lists.freedesktop.org>
---
 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 caac599..251021c 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)
-- 
1.8.3.2



More information about the mesa-stable mailing list