dof: free more memory on shutdown.
Change-Id: Ic4604cc2f999f4e669af00e37dad9b60cb06e599 Reviewed-on: https://code.wireshark.org/review/19977 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
d03b6c09da
commit
f6d9f7fb30
|
@ -12434,6 +12434,21 @@ static void dof_cleanup_routine(void)
|
|||
static void
|
||||
dof_shutdown_routine(void)
|
||||
{
|
||||
guint i;
|
||||
|
||||
for (i = 0; i < global_security.identity_data_count; i++) {
|
||||
g_free(global_security.identity_data[i].identity);
|
||||
g_free(global_security.identity_data[i].domain);
|
||||
g_free(global_security.identity_data[i].secret);
|
||||
}
|
||||
g_free(global_security.identity_data);
|
||||
|
||||
for (i = 0; i < global_security.group_data_count; i++) {
|
||||
g_free(global_security.group_data[i].domain);
|
||||
g_free(global_security.group_data[i].identity);
|
||||
g_free(global_security.group_data[i].kek);
|
||||
}
|
||||
|
||||
if (addr_port_to_id)
|
||||
g_hash_table_destroy(addr_port_to_id);
|
||||
if (dpp_opid_to_packet_data)
|
||||
|
|
Loading…
Reference in New Issue