From: Sergii Romantsov Date: Thu, 18 Jul 2019 12:43:59 +0000 (+0300) Subject: meta: leak of shader program when decompressing tex-images X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b21b97511340d2daa111430acb846a4ce4b7522;p=mesa.git meta: leak of shader program when decompressing tex-images CC: Kenneth Graunke Reviewed-by: Lionel Landwerlin Signed-off-by: Sergii Romantsov --- diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 65362935320..8010618af7c 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -2993,6 +2993,7 @@ meta_decompress_cleanup(struct gl_context *ctx, } _mesa_reference_sampler_object(ctx, &decompress->samp_obj, NULL); + _mesa_meta_blit_shader_table_cleanup(ctx, &decompress->shaders); memset(decompress, 0, sizeof(*decompress)); }