v3d/qpu: Avoid leaking memory in the QPU disasm test.
authorEric Anholt <eric@anholt.net>
Mon, 15 Feb 2021 19:02:58 +0000 (11:02 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Feb 2021 00:49:00 +0000 (00:49 +0000)
commita687e71afd9a734de0df85fdfc4125f79b282c35
treed40af1e33217764576f245b30b9d5ca77a15c88d
parent3f776046238e1ae153f24b332e29718681829027
v3d/qpu: Avoid leaking memory in the QPU disasm test.

Required to run this test under ASan, as we'll be soon doing for building
ARM drivers with asan testing.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9070>
src/broadcom/qpu/tests/qpu_disasm.c