From: Jason Ish Date: Tue, 27 Feb 2024 23:19:54 +0000 (-0600) Subject: pfring: fix leak of packet on exit X-Git-Tag: suricata-8.0.0-beta1~1699 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=358f1e35eed415d57cf24500deb58d1224c67b71;p=thirdparty%2Fsuricata.git pfring: fix leak of packet on exit Bug: #4734 --- diff --git a/src/source-pfring.c b/src/source-pfring.c index 40a42723d6..09efe8ac04 100644 --- a/src/source-pfring.c +++ b/src/source-pfring.c @@ -430,6 +430,7 @@ TmEcode ReceivePfringLoop(ThreadVars *tv, void *data, void *slot) } } else if (unlikely(r == 0)) { if (suricata_ctl_flags & SURICATA_STOP) { + TmqhOutputPacketpool(ptv->tv, p); SCReturnInt(TM_ECODE_OK); }