mirror of https://github.com/OISF/suricata
stream: fix memory leak when failing to insert segment
As introduced by commit f848e34bcc
DoInsertSegment can now return `-EINVAL` and there was no
generic handling of error values to return the tcp segment
to its pool.
Ticket: #5777
pull/8360/head
parent
e15c9451f2
commit
fff4475d91
Loading…
Reference in New Issue