vulkan/wsi: Don't leak the FD when GetImageDrmFormatModifierProperties fails
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 2 Mar 2020 23:05:59 +0000 (17:05 -0600)
committerMarge Bot <eric+marge@anholt.net>
Tue, 10 Mar 2020 16:39:27 +0000 (16:39 +0000)
commit34d2637fa76ba4dd1969f06352e191ccb228d8f3
treecaa3b4b7a068e3a7844b8ac64dc7fec6a4939fa1
parent3c96e25de77b4879f54ef5727378dacf13e7e398
vulkan/wsi: Don't leak the FD when GetImageDrmFormatModifierProperties fails

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4135>
src/vulkan/wsi/wsi_common.c