projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c9a920
)
r600/compute: Free compiled kernels when deleting compute state
author
Aaron Watry
<awatry@gmail.com>
Thu, 12 Dec 2013 22:35:54 +0000
(16:35 -0600)
committer
Aaron Watry
<awatry@gmail.com>
Mon, 23 Dec 2013 13:24:50 +0000
(07:24 -0600)
v2: Remove unnecessary null pointer check
CC: "10.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/r600/evergreen_compute.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/evergreen_compute.c
b/src/gallium/drivers/r600/evergreen_compute.c
index 0d722b6cad6b2a9856a8ec66de19abb7c268b622..c518d865f7cea69e11fc77a411beca87dacae929 100644
(file)
--- 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);