From 1b21b97511340d2daa111430acb846a4ce4b7522 Mon Sep 17 00:00:00 2001 From: Sergii Romantsov Date: Thu, 18 Jul 2019 15:43:59 +0300 Subject: [PATCH] meta: leak of shader program when decompressing tex-images CC: Kenneth Graunke Reviewed-by: Lionel Landwerlin Signed-off-by: Sergii Romantsov --- src/mesa/drivers/common/meta.c | 1 + 1 file changed, 1 insertion(+) 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)); } -- 2.30.2