Svace resolve : memory leak in gatt-test 20/55720/1 accepted/tizen/mobile/20151229.075114 accepted/tizen/tv/20151229.075207 accepted/tizen/wearable/20151229.075015 submit/tizen_mobile/20151229.042928 submit/tizen_tv/20151229.042932 submit/tizen_wearable/20151229.042936
authorHyuk Lee <hyuk0512.lee@samsung.com>
Tue, 29 Dec 2015 02:00:49 +0000 (11:00 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Tue, 29 Dec 2015 02:00:49 +0000 (11:00 +0900)
Change-Id: Iaf863f7d7f3cf75bf71622b8e0c2b4c87ccc9544
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
test/gatt-test/bluetooth-gatt-test.c

index deb822f..9aab4e8 100644 (file)
@@ -147,6 +147,7 @@ static void __accept_bdaddress(bluetooth_device_address_t *device_address)
        if (addr) {
                TC_PRT("Remote bd adress from file: %s", addr);
                convert_addr_string_to_addr_type(device_address, addr);
+               g_free(addr);
                return;
        }