OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 23 Nov 2016 13:58:45 +0000 (13:58 +0000)
commita4b67f664e6a52898e681b35ca769e1fd206a4d1
treef7c8b502076a1c2112ba8fe2a43af061717b1e93
parent0a2c318d9c48bce0d5865be69c008631a5f98e87
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>
(cherry picked from commit 302f641d14f5c4d1560b6a0170803e21bd4bb976)
src/vulkan/wsi/wsi_common_wayland.c