freedreno/ir3: Free the compiler at the end of the unit tests.

Needed for meson test with asan enabled.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7936>
This commit is contained in:
Eric Anholt 2020-12-04 12:46:12 -08:00 committed by Marge Bot
parent ba8ce62d3c
commit f6665eb053

View file

@ -218,5 +218,7 @@ main(int argc, char **argv)
ir3_shader_destroy(shader);
}
ir3_compiler_destroy(c);
return result;
}