freedreno/ir3: Don't leak disk_cache

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8175>
This commit is contained in:
Rob Clark 2020-12-28 09:05:08 -08:00 committed by Marge Bot
parent 71f902bab9
commit c55737902c
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ enum ir3_shader_debug ir3_shader_debug = 0;
void
ir3_compiler_destroy(struct ir3_compiler *compiler)
{
disk_cache_destroy(compiler->disk_cache);
ralloc_free(compiler);
}