r600/compute: Use the correct FREE macro when deleting compute state
authorAaron Watry <awatry@gmail.com>
Fri, 8 Nov 2013 19:53:10 +0000 (13:53 -0600)
committerAaron Watry <awatry@gmail.com>
Mon, 23 Dec 2013 13:24:50 +0000 (07:24 -0600)
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
CC: "10.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/r600/evergreen_compute.c

index c518d865f7cea69e11fc77a411beca87dacae929..a2db69b6fac441b745f771fba96289bf56a7e53a 100644 (file)
@@ -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)