From: Cheoleun Moon Date: Thu, 8 Apr 2021 08:48:45 +0000 (+0900) Subject: tests: Free after use (2) X-Git-Tag: submit/tizen/20210408.090200^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef4d1d09cd7d6a0031b3607b4108a9c4e320d0fc;p=platform%2Fcore%2Fapi%2Fvine.git tests: Free after use (2) Change-Id: I59ecb802b1b4f79c3cc143b99589e4aa711b3a6a Signed-off-by: Cheoleun Moon --- diff --git a/tests/vine-test/vine-test.cpp b/tests/vine-test/vine-test.cpp index 4102b23..00a8cf6 100644 --- a/tests/vine-test/vine-test.cpp +++ b/tests/vine-test/vine-test.cpp @@ -252,6 +252,8 @@ static void __discovered_cb(vine_session_h session, vine_service_h service, fflush(stdout); g_service_list.push_back(service); + free(service_type); + free(service_name); } static void __print_received_data(unsigned char *buf, size_t len)