]> git.ipfire.org Git - thirdparty/suricata.git/commit
util/thash: decrease memuse if array was allocated 11431/head
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 4 Jul 2024 11:55:27 +0000 (13:55 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 4 Jul 2024 13:39:06 +0000 (15:39 +0200)
commiteeec609ac822a9d3ffc407428d6e6a75f4e30afa
treee664ff95cf490b5392bf7753de878372dd3f624a
parent35dffc6b32edefdccff18710abdb6f7bc6a1145f
util/thash: decrease memuse if array was allocated

THashInitConfig may not allocate array and increase memuse.
Such a failure leads to THashShutdown which should not decrease
the memuse.

Ticket: 7135
src/util-thash.c