free the memory for ipaddress from g_inet_address_to_string