From 371beaeedb9f75d60f19b5e458d34c493f6b2f31 Mon Sep 17 00:00:00 2001 From: YoungJun Cho Date: Tue, 10 Oct 2017 17:43:47 +0900 Subject: [PATCH] provider: clean up screen_connector_provider_init() Change-Id: Iead44d5286bc4dc16041761400f389339ce87c3d Signed-off-by: YoungJun Cho --- screen_connector_provider/src/screen_connector_provider.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/screen_connector_provider/src/screen_connector_provider.c b/screen_connector_provider/src/screen_connector_provider.c index 9d903c7..a31bfa1 100755 --- a/screen_connector_provider/src/screen_connector_provider.c +++ b/screen_connector_provider/src/screen_connector_provider.c @@ -210,6 +210,7 @@ EXPORT_API int screen_connector_provider_init(void) if (!registry || !globals) { LOGE("could not get registry(%p) or global list(%p)", registry, globals); + ecore_wl_shutdown(); return -1; } @@ -223,6 +224,7 @@ EXPORT_API int screen_connector_provider_init(void) if (!__rsm) { LOGE("could not get remote surface manager"); + ecore_wl_shutdown(); return -1; } __init_count++; -- 2.7.4