mirror of https://github.com/OISF/suricata
iprep: unify free handling
Introduce a new util function to free a Hosts iprep code. It also handles the Host use_cnt decrement. This change makes sure we also decrement the use_cnt when cleaning up when shutting down the host table. Move the BUG_ON check for use_cnt into the HostClearMemory() func to check it in more cases.pull/7067/head
parent
a6a6f6d538
commit
172d2b28a5
Loading…
Reference in New Issue