Fix the svace issue (173455) 65/122965/1 accepted/tizen/unified/20170406.054750 submit/tizen/20170404.073146 submit/tizen/20170405.055649
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 4 Apr 2017 05:40:56 +0000 (14:40 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 4 Apr 2017 05:40:56 +0000 (14:40 +0900)
Change-Id: I299455b5c452b0b57cd596f84b0eb21dc03667a4
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bt-syspopup-m.c

index 216e17abcee31a14f6fde562a9eaa68fb2cfca8b..c1b8fe146db79bddcb2b98582be7671a85809b91 100644 (file)
@@ -2064,6 +2064,8 @@ static int __bluetooth_launch_handler(struct bt_popup_appdata *ad,
                __bluetooth_draw_popup(ad, "Bluetooth permission request", popup_text, BT_STR_CANCEL, BT_STR_CONFIRM,
                                        __bluetooth_visibility_confirm_cb);
 
+               g_free(popup_text);
+
        } else if (!strcasecmp(event_type, "passkey-request")) {
                char *device_name = NULL;