vulkan/wsi/wayland: Fix use after free
vulkan/wsi/wayland: Fix use after free
In 7eaceb03 I called pthread_mutex_unlock() with a member of a freed structure.
We can unlock as soon as this element is removed from the list it was in, so just move the unlock to before the free.
Fixes 7eaceb03
Signed-off-by: Derek Foreman derek.foreman@collabora.com