From: Sumit Aggarwal Date: Fri, 19 Aug 2016 10:43:13 +0000 (+0530) Subject: Fixed memory leak issue. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=33da8a31bc26d4961fcbf63b7ee1d3849890e805;p=platform%2Fcore%2Fconnectivity%2Fnet-config.git Fixed memory leak issue. Change-Id: Ic687fef745363f61ab091586c0b0c5bd225a801d Signed-off-by: Sumit Aggarwal --- diff --git a/src/wifi-wps.c b/src/wifi-wps.c index 500d1f0..a8326fc 100755 --- a/src/wifi-wps.c +++ b/src/wifi-wps.c @@ -501,6 +501,8 @@ static void __netconfig_wifi_interface_create_result( wifi_power_driver_and_supplicant(FALSE); } + if (error) + g_error_free(error); g_variant_unref(message); }