From: INSUN PYO Date: Wed, 22 Apr 2020 06:02:40 +0000 (+0900) Subject: Fix memory leak X-Git-Tag: submit/tizen/20200424.083643^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F231479%2F1;p=platform%2Fcore%2Fconnectivity%2Fnet-config.git Fix memory leak Change-Id: I4c1e6ba4ea1a315ab12afbed189bce559c11b1f1 --- diff --git a/src/wifi-dpp.c b/src/wifi-dpp.c index 5d70239..c7b0c58 100644 --- a/src/wifi-dpp.c +++ b/src/wifi-dpp.c @@ -355,6 +355,7 @@ static gchar *__netconfig_get_p2p_address(const char *if_path) __ws_unpack_ay(p2p_addr, temp2, MACADDR_LEN); g_variant_unref(temp1); g_variant_unref(temp2); + g_variant_unref(message); g_snprintf(address_str, MACSTR_LEN, MACSTR, MAC2STR(p2p_addr));