radv: fix destroying the syncobj when exporting a fence FD
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 14 Jul 2020 20:55:04 +0000 (22:55 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Jul 2020 21:04:37 +0000 (21:04 +0000)
commit8aa9d0acb8ce882686eedd7d9b2bf51b035f2614
treee34dfed3d3998469dca02a172807e3d925f3b696
parentb5a48a948ac06a1bea7e919136c27dc617c059c2
radv: fix destroying the syncobj when exporting a fence FD

It's invalid and the temporary syncobj was never actually destroyed.

Cc: 20.1 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5921>
src/amd/vulkan/radv_device.c