Fix memory leak - test_found_cb 95/174495/1 accepted/tizen/unified/20180406.062056 submit/tizen/20180403.231154
authorTaesoo Jun <steve.jun@samsung.com>
Mon, 2 Apr 2018 10:47:55 +0000 (19:47 +0900)
committerTaesoo Jun <steve.jun@samsung.com>
Mon, 2 Apr 2018 10:47:55 +0000 (19:47 +0900)
Change-Id: I1be91624807e9c0df7d9bcee7cf64dfa5f517339

test/ssdp-browse-test.c

index 2541b4f..d2c0840 100644 (file)
@@ -47,6 +47,8 @@ void test_found_cb(ssdp_service_state_e state, ssdp_service_h ssdp_service, void
        printf("state: %s\n", state == SSDP_SERVICE_STATE_AVAILABLE ? "AVAILABLE" : "UNAVAILABE");
        printf("usn: %s\n", usn);
        printf("url: %s\n", url);
+       g_free(usn);
+       g_free(url);
        __FUNC_EXIT__;
 }