OSDN Git Service

wsi/wayland: only finish() a successfully init()ed display
authorEric Engestrom <eric.engestrom@intel.com>
Mon, 5 Nov 2018 09:57:09 +0000 (09:57 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Mon, 5 Nov 2018 15:29:21 +0000 (15:29 +0000)
commitd515ded4d951b830b560c352d64918a89027bee5
treedcf2a81358ad794afadf2ae92d0d29ae31924155
parentdcee22afed935a434118935bcdad5c4fc7246077
wsi/wayland: only finish() a successfully init()ed display

Fixes: 43691024982b3ea734ad0 "vulkan/wsi/wayland: Stop caching Wayland displays"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
src/vulkan/wsi/wsi_common_wayland.c