From 27664d84d551c896eb320c3e4b46eaf6095966f8 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Fri, 31 Mar 2017 11:09:42 +0900 Subject: [PATCH] [WGID-146149] Fixed memory leak Change-Id: Ia205746553027a4803da6b8a55ea465e45941106 Signed-off-by: Seonah Moon --- src/mobileap_notification.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mobileap_notification.c b/src/mobileap_notification.c index 1a594f3..49f4a35 100644 --- a/src/mobileap_notification.c +++ b/src/mobileap_notification.c @@ -391,6 +391,8 @@ int _create_connected_noti(mobile_ap_type_e type, int count) return MOBILE_AP_ERROR_INTERNAL; } + if (b != NULL) + bundle_free(b); free(icon_path); DBG("-\n"); return MOBILE_AP_ERROR_NONE; -- 2.7.4