From 120e1ee9a2ac28dc35d52095a1a9f6b28b4818de Mon Sep 17 00:00:00 2001 From: Zbigniew Kostrzewa Date: Mon, 16 Sep 2013 09:56:26 +0200 Subject: [PATCH] Fix Prevent issue [Issue#] CID: 31582 [Problem] Resource leak [Cause] Invalid condition [Solution] Fix condition [Verification] Build repository Change-Id: I4d22559cc127a3e2380f072fb773c8830812cc48 --- src/view/common/scheme_action_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/common/scheme_action_map.cpp b/src/view/common/scheme_action_map.cpp index eee82e6..7bc46d3 100644 --- a/src/view/common/scheme_action_map.cpp +++ b/src/view/common/scheme_action_map.cpp @@ -278,7 +278,7 @@ void handleUnknownScheme(const char* scheme, const char* uri) } else { // create service service_h serviceHandle = NULL; - if (SERVICE_ERROR_NONE != service_create(&serviceHandle)) { + if (SERVICE_ERROR_NONE == service_create(&serviceHandle)) { service_set_operation(serviceHandle, SERVICE_OPERATION_VIEW); service_set_uri(serviceHandle, uri); CONTROLLER_POST_EVENT( -- 2.7.4