vulkan/wsi/wayland: Clean up some error handling paths
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 9 Nov 2016 18:21:03 +0000 (10:21 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 10 Nov 2016 02:18:42 +0000 (18:18 -0800)
commit302f641d14f5c4d1560b6a0170803e21bd4bb976
tree93d7ac2200618533eba01063b9b0a151c0b67f3f
parent3b6abfc69ac485006cbedba7bcad234888cad44f
vulkan/wsi/wayland: Clean up some error handling paths

This gets rid of all the memory leaks reported by the WSI CTS tests.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
src/vulkan/wsi/wsi_common_wayland.c