vulkan/wsi: Return an error if dup() fails
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 2 Mar 2020 23:26:43 +0000 (17:26 -0600)
committerMarge Bot <eric+marge@anholt.net>
Tue, 10 Mar 2020 16:39:27 +0000 (16:39 +0000)
commitaf68b0d3460259b4d9255c36f31381059e482019
tree3bf97e01a07391cc49b464a452dc6857a966df2a
parent34d2637fa76ba4dd1969f06352e191ccb228d8f3
vulkan/wsi: Return an error if dup() fails

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