diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_compute.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index f0f537cd8e2..caac59949d0 100644 --- a/src/gallium/drivers/r600/evergreen_compute.c +++ b/src/gallium/drivers/r600/evergreen_compute.c @@ -238,6 +238,8 @@ void evergreen_delete_compute_state(struct pipe_context *ctx, void* state) if (!shader) return; + FREE(shader->kernels); + #ifdef HAVE_OPENCL if (shader->llvm_ctx){ LLVMContextDispose(shader->llvm_ctx); |