projects
/
platform
/
core
/
api
/
nsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3d516a
)
Fix memory leak - test_found_cb
95/174495/1
accepted/tizen/unified/20180406.062056
submit/tizen/20180403.231154
author
Taesoo Jun
<steve.jun@samsung.com>
Mon, 2 Apr 2018 10:47:55 +0000
(19:47 +0900)
committer
Taesoo Jun
<steve.jun@samsung.com>
Mon, 2 Apr 2018 10:47:55 +0000
(19:47 +0900)
Change-Id: I1be91624807e9c0df7d9bcee7cf64dfa5f517339
test/ssdp-browse-test.c
patch
|
blob
|
history
diff --git
a/test/ssdp-browse-test.c
b/test/ssdp-browse-test.c
index
2541b4f
..
d2c0840
100644
(file)
--- a/
test/ssdp-browse-test.c
+++ b/
test/ssdp-browse-test.c
@@
-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__;
}