From 442b476215fa0ff58ce3875d0f74ccf2f1518c7b Mon Sep 17 00:00:00 2001 From: Abhishek Sansanwal Date: Mon, 10 Apr 2017 15:17:58 +0530 Subject: [PATCH] Fixed possible memory leak Signed-off-by: Abhishek Sansanwal Change-Id: I52b2be1ab74594a857946502b4b933780d2cf1bb --- sources/wifi-syspopup/viewer-popups/view-main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/wifi-syspopup/viewer-popups/view-main.c b/sources/wifi-syspopup/viewer-popups/view-main.c index 2abe0ab..2d0cc35 100755 --- a/sources/wifi-syspopup/viewer-popups/view-main.c +++ b/sources/wifi-syspopup/viewer-popups/view-main.c @@ -420,6 +420,7 @@ Elm_Object_Item *view_main_item_get_for_ap(wifi_manager_ap_h ap) __COMMON_FUNC_EXIT__; return NULL; } else if (WIFI_MANAGER_ERROR_NONE != wifi_manager_ap_get_security_type(ap, &type)) { + g_free(essid); __COMMON_FUNC_EXIT__; return NULL; } -- 2.7.4