From: Maneesh Jain Date: Thu, 11 Feb 2016 11:20:04 +0000 (+0530) Subject: [wifi-tdls]: Fixed Memory Leak issue X-Git-Tag: submit/tizen/20160223.060827~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=034724d93c34c1a87556e3674ec4b17ed9ee3932;p=platform%2Fcore%2Fconnectivity%2Fnet-config.git [wifi-tdls]: Fixed Memory Leak issue Description:g_variant_print() return a newly-allocated string holding the result. It was not getting free. As this is only informative log, so no more required. Change-Id: Ia9de2609f18d96dddf146ff4978e53b9198ad883 Signed-off-by: Maneesh Jain --- diff --git a/src/wifi-tdls.c b/src/wifi-tdls.c index de2ca17..dc38441 100755 --- a/src/wifi-tdls.c +++ b/src/wifi-tdls.c @@ -119,7 +119,6 @@ gboolean handle_tdls_connected_peer(Wifi *wifi, GDBusMethodInvocation *context) } g_variant_get(message, "(&s)", &reply_str); - INFO("param [%s]", g_variant_print(message,TRUE)); INFO("TDLS reply: [%s]", reply_str); INFO("TDLS :peer_mac [%s]", peer_mac);