From d08a666b95a3efae2b1de3f52bcc3634c7ec2122 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 10 Oct 2025 21:54:37 +0200 Subject: [PATCH] unittests: clean up memory for detect quic tests --- src/detect-quic-cyu-hash.c | 1 + src/detect-quic-cyu-string.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/detect-quic-cyu-hash.c b/src/detect-quic-cyu-hash.c index c42a325b95..37d8f7afff 100644 --- a/src/detect-quic-cyu-hash.c +++ b/src/detect-quic-cyu-hash.c @@ -257,6 +257,7 @@ static int DetectQuicCyuHashTest01(void) FLOW_DESTROY(&f); UTHFreePacket(p); + StatsThreadCleanup(&tv); PASS; } diff --git a/src/detect-quic-cyu-string.c b/src/detect-quic-cyu-string.c index f99798ad06..28ff2b77bf 100644 --- a/src/detect-quic-cyu-string.c +++ b/src/detect-quic-cyu-string.c @@ -256,6 +256,7 @@ static int DetectQuicCyuStringTest01(void) FLOW_DESTROY(&f); UTHFreePacket(p); + StatsThreadCleanup(&tv); PASS; }