Mesa (master): meta: leak of shader program when decompressing tex-images
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Oct 9 11:22:07 UTC 2019
Module: Mesa
Branch: master
Commit: 1b21b97511340d2daa111430acb846a4ce4b7522
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b21b97511340d2daa111430acb846a4ce4b7522
Author: Sergii Romantsov <sergii.romantsov at globallogic.com>
Date: Thu Jul 18 15:43:59 2019 +0300
meta: leak of shader program when decompressing tex-images
CC: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Signed-off-by: Sergii Romantsov <sergii.romantsov at globallogic.com>
---
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));
}
More information about the mesa-commit
mailing list