unittests/helper: free flow memory more thoroughly

pull/14025/head
Victor Julien 2 months ago committed by Victor Julien
parent 9474c552d2
commit 150bee3a46

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

Loading…
Cancel
Save