<div dir="ltr"><div><div>For the series:<br><br></div>Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>><br><br></div>Marek<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 7, 2018 at 11:05 PM, Jan Vesely <span dir="ltr"><<a href="mailto:jan.vesely@rutgers.edu" target="_blank">jan.vesely@rutgers.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">CC: <<a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.<wbr>freedesktop.org</a>><br>
Signed-off-by: Jan Vesely <<a href="mailto:jan.vesely@rutgers.edu">jan.vesely@rutgers.edu</a>><br>
---<br>
 src/gallium/drivers/r600/<wbr>evergreen_compute.c | 1 +<br>
 1 file changed, 1 insertion(+)<br>
<br>
diff --git a/src/gallium/drivers/r600/<wbr>evergreen_compute.c b/src/gallium/drivers/r600/<wbr>evergreen_compute.c<br>
index 027930b586..5070243914 100644<br>
--- a/src/gallium/drivers/r600/<wbr>evergreen_compute.c<br>
+++ b/src/gallium/drivers/r600/<wbr>evergreen_compute.c<br>
@@ -463,6 +463,7 @@ static void evergreen_delete_compute_<wbr>state(struct pipe_context *ctx, void *state<br>
 #ifdef HAVE_OPENCL<br>
                radeon_shader_binary_clean(&<wbr>shader->binary);<br>
                pipe_resource_reference(&<wbr>shader->code_bo, NULL);<br>
+               pipe_resource_reference(&<wbr>shader->kernel_param, NULL);<br>
 #endif<br>
                r600_destroy_shader(&shader-><wbr>bc);<br>
        }<br>
<span class="HOEnZb"><font color="#888888">-- <br>
2.17.0<br>
<br>
</font></span></blockquote></div><br></div>