From 150bee3a4691586c5be37fd8bec8a1d4325873af Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 6 Oct 2025 07:41:52 +0200 Subject: [PATCH] unittests/helper: free flow memory more thoroughly --- src/util-unittest-helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util-unittest-helper.c b/src/util-unittest-helper.c index 386530852b..6988a63b8c 100644 --- a/src/util-unittest-helper.c +++ b/src/util-unittest-helper.c @@ -493,6 +493,7 @@ Flow *UTHBuildFlow(int family, const char *src, const char *dst, Port sp, Port d void UTHFreeFlow(Flow *flow) { if (flow != NULL) { + FLOW_DESTROY(flow); SCFree(flow);//FlowFree(flow); } }