]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow: cleanup expectations first
authorVictor Julien <victor@inliniac.net>
Fri, 3 Apr 2020 08:09:07 +0000 (10:09 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 3 Apr 2020 08:10:05 +0000 (10:10 +0200)
commit09a21545ce00de8ef161f097603f98770351e9be
treedd649029ec02ef329f133e8f532927b3ceb6cfc5
parentfcfeeeb694f01508bf98ecc8e22dc3d30ef34f95
flow: cleanup expectations first

Make sure to cleanup expectations for a flow as the first step, before
parts of the flow itself are getting cleaned/freed.

Also indicate use unlikely as flows with expectations should be relatively
rare.
src/flow.c