Fix one more memory leak.

The delete function was not set for one of the dictionaries used by
sessions.

Found by dnj0496@gmail.com
This commit is contained in:
Johanna Amann 2016-06-21 10:26:47 -07:00
parent 87da09ddca
commit eece0ff096

View file

@ -103,6 +103,7 @@ NetSessions::NetSessions()
tcp_conns.SetDeleteFunc(bro_obj_delete_func); tcp_conns.SetDeleteFunc(bro_obj_delete_func);
udp_conns.SetDeleteFunc(bro_obj_delete_func); udp_conns.SetDeleteFunc(bro_obj_delete_func);
icmp_conns.SetDeleteFunc(bro_obj_delete_func);
fragments.SetDeleteFunc(bro_obj_delete_func); fragments.SetDeleteFunc(bro_obj_delete_func);
if ( stp_correlate_pair ) if ( stp_correlate_pair )