From: Seonah Moon Date: Thu, 29 Sep 2016 04:19:43 +0000 (+0900) Subject: [WGID 83003] Fixed memory leak X-Git-Tag: accepted/tizen/common/20160929.163217^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b2eb68962a0d6b007f7ead984695929c3d94da7;p=platform%2Fcore%2Fconnectivity%2Fmobileap-agent.git [WGID 83003] Fixed memory leak Change-Id: I1cefd36d9e4b0a0ce797551e4489f2a0c7f8aaa5 Signed-off-by: Seonah Moon --- diff --git a/packaging/mobileap-agent.spec b/packaging/mobileap-agent.spec index e2a4b38..51fb717 100644 --- a/packaging/mobileap-agent.spec +++ b/packaging/mobileap-agent.spec @@ -1,6 +1,6 @@ Name: mobileap-agent Summary: Mobile AP daemon for setting tethering environments -Version: 1.0.74 +Version: 1.0.75 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/src/mobileap_notification.c b/src/mobileap_notification.c index 8d9c651..906bf05 100644 --- a/src/mobileap_notification.c +++ b/src/mobileap_notification.c @@ -458,6 +458,7 @@ int _update_connected_noti(mobile_ap_type_e type, int count) return MOBILE_AP_ERROR_INTERNAL; } + free(icon_path); DBG("-\n"); return MOBILE_AP_ERROR_NONE;