mirror of https://github.com/OISF/suricata
util/varname: check id before unregister
In case of an error a varname id is set to 0. Ideally, it shouldn't be found in the hash table lookup but add a check anyway to avoid obtaining the mutex lock and performing the lookup.pull/14262/head
parent
ec65fd430e
commit
e5994deb23
Loading…
Reference in New Issue