From: Junkyeong Kim Date: Mon, 27 Jun 2016 06:41:26 +0000 (+0900) Subject: erase unreacherble codes X-Git-Tag: accepted/tizen/common/20160629.223506~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45e37f63b53e6ebc093999dc4c9053154ea3a7c7;p=platform%2Fcore%2Fapi%2Fefl-util.git erase unreacherble codes Change-Id: I8ffc41b6a6f360f76d69185f6c8c73afbc680a76 Signed-off-by: Junkyeong Kim --- diff --git a/src/efl_util.c b/src/efl_util.c index 112e625..28bb5bf 100644 --- a/src/efl_util.c +++ b/src/efl_util.c @@ -292,8 +292,6 @@ fail: _eflutil.wl.queue = NULL; } - if (reg) - wl_registry_destroy(reg); ecore_wl_shutdown(); return EINA_FALSE; } @@ -1371,8 +1369,6 @@ fail_param: return NULL; fail_memory: /* LCOV_EXCL_START */ - if (screenshot) - efl_util_screenshot_deinitialize(screenshot); set_last_result(EFL_UTIL_ERROR_OUT_OF_MEMORY); return NULL; /* LCOV_EXCL_STOP */