From: taesub kim Date: Tue, 3 Apr 2018 23:50:53 +0000 (+0900) Subject: [WGID-79820] Fix memory leak X-Git-Tag: accepted/tizen/unified/20180406.062023^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9278095b644a415b85f42e9b1628fba0646227d2;p=platform%2Fcore%2Fapi%2Fvpn-service.git [WGID-79820] Fix memory leak Change-Id: I649abaa1da51fbe545684a5820e95dacc0c52246 Signed-off-by: Taesub Kim --- diff --git a/test/vpn_service_test.c b/test/vpn_service_test.c index d5ebb9e..af23315 100755 --- a/test/vpn_service_test.c +++ b/test/vpn_service_test.c @@ -326,6 +326,7 @@ int test_vpnsvc_set_session() rv = vpnsvc_get_session(handle, &get_session); printf("session name = %s\n", get_session); printf("vpnsvc set session Success\n"); + g_free(get_session); return 1; } }