meta: leak of shader program when decompressing tex-images

CC: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Sergii Romantsov <sergii.romantsov@globallogic.com>
This commit is contained in:
Sergii Romantsov
2019-07-18 15:43:59 +03:00
committed by Danylo Piliaiev
parent bbdbb02a5f
commit 1b21b97511
+1
View File
@@ -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));
}