addr_resolv: remove leak.

Change-Id: If4676b2982efae593084dbe951d8e0bb97189917
Reviewed-on: https://code.wireshark.org/review/19966
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
This commit is contained in:
Dario Lombardo 2017-02-05 22:28:26 +01:00
parent bfe07161a5
commit 523c09f31f
2 changed files with 4 additions and 0 deletions

View File

@ -663,6 +663,8 @@ static void
service_name_lookup_cleanup(void)
{
serv_port_hashtable = NULL;
g_free(g_services_path);
g_services_path = NULL;
}
/* Fill in an IP4 structure with info from subnets file or just with the

View File

@ -407,6 +407,8 @@ prefs_cleanup(void)
uat_cleanup();
g_free(prefs.saved_at_version);
g_free(gpf_path);
gpf_path = NULL;
}
/*