From 034724d93c34c1a87556e3674ec4b17ed9ee3932 Mon Sep 17 00:00:00 2001 From: Maneesh Jain Date: Thu, 11 Feb 2016 16:50:04 +0530 Subject: [PATCH] [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 --- src/wifi-tdls.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.34.1