turnip: Free event->bo on vkDestroyEvent
authorBrian Ho <brian@brkho.com>
Thu, 30 Jan 2020 16:02:29 +0000 (11:02 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Jan 2020 18:50:06 +0000 (18:50 +0000)
commit1c3319cf81779ba6a17223d22ddd3afc68acab1e
treeee9001190a42e5cec5f6aca04c18a92b6d8166b8
parent594cb3035615b3a6cf3dc09ccee30554b56eb2f3
turnip: Free event->bo on vkDestroyEvent

Fixes a leak from freeing event but not event->bo.

Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3639>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3639>
src/freedreno/vulkan/tu_device.c