intel/compiler: Free resources on test teardown

Ensure that all resources are properly released by
properly parenting them to a memory context and releasing
the context during test teardown.

Signed-off-by: Rohan Garg <rohan.garg@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8162>
This commit is contained in:
Rohan Garg
2021-02-10 16:43:08 +01:00
parent 628c10f14e
commit 56bbbc8322
9 changed files with 155 additions and 64 deletions

View File

@@ -340,5 +340,6 @@ main(UNUSED int argc, UNUSED char **argv)
fail |= run_tests(devinfo);
}
free(devinfo);
return fail;
}