[WGID-146149] Fixed memory leak 53/122253/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_rpi accepted/tizen/common/20170403.190051 accepted/tizen/ivi/20170403.124607 accepted/tizen/mobile/20170403.124325 accepted/tizen/tv/20170403.124422 accepted/tizen/unified/20170403.124620 accepted/tizen/wearable/20170403.124521 submit/tizen/20170403.015738
authorSeonah Moon <seonah1.moon@samsung.com>
Fri, 31 Mar 2017 02:09:42 +0000 (11:09 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Fri, 31 Mar 2017 02:10:01 +0000 (11:10 +0900)
Change-Id: Ia205746553027a4803da6b8a55ea465e45941106
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
src/mobileap_notification.c

index 1a594f3..49f4a35 100644 (file)
@@ -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;