mirror of https://github.com/OISF/suricata
hs: remove redundant file handle in HSLoadCache
HSLoadCache opened the cache file but never used the resulting handle for reading. The actual read was done by HSReadStream which opened the same file independently. Removed the unused fopen/fclose pair and flattened the control flow. Ticket: 8325pull/14908/head
parent
569ba3d26f
commit
d754b28717
Loading…
Reference in New Issue