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

Aaron Watry awatry at gmail.com
Thu Dec 12 14:47:21 PST 2013


---
 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 25ca5d4..e410870 100644
--- a/src/gallium/drivers/r600/evergreen_compute.c
+++ b/src/gallium/drivers/r600/evergreen_compute.c
@@ -248,7 +248,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-dev mailing list