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); } }