wsi: fix cleanup when dup() fails
Fixes: f5433e4d ("vulkan/wsi: Add modifiers support to wsi_create_native_image")
/cc @jekstrand
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Fixes: f5433e4d ("vulkan/wsi: Add modifiers support to wsi_create_native_image")
/cc @jekstrand