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:
parent
bfe07161a5
commit
523c09f31f
|
@ -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
|
||||
|
|
|
@ -407,6 +407,8 @@ prefs_cleanup(void)
|
|||
uat_cleanup();
|
||||
|
||||
g_free(prefs.saved_at_version);
|
||||
g_free(gpf_path);
|
||||
gpf_path = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue