diff --git a/src/stream-tcp.c b/src/stream-tcp.c index 594b53b5be..1bf4983b64 100644 --- a/src/stream-tcp.c +++ b/src/stream-tcp.c @@ -142,6 +142,7 @@ void StreamTcpReturnStreamSegments (TcpStream *stream) } stream->seg_list = NULL; + stream->seg_list_tail = NULL; } /** \brief Function to return the stream back to the pool. It returns the