unittests: clean up memory for detect flowint tests

pull/14025/head
Victor Julien 1 month ago committed by Victor Julien
parent 525847c959
commit b66592a8b2

@ -1170,7 +1170,7 @@ static int DetectFlowintTestPacket01Real(void)
UTHFreeFlow(f);
DetectEngineThreadCtxDeinit(&th_v,(void *) det_ctx);
DetectEngineCtxFree(de_ctx);
StatsThreadCleanup(&th_v);
PASS;
}
@ -1245,6 +1245,7 @@ static int DetectFlowintTestPacket02Real(void)
UTHFreeFlow(f);
DetectEngineThreadCtxDeinit(&th_v,(void *) det_ctx);
DetectEngineCtxFree(de_ctx);
StatsThreadCleanup(&th_v);
PASS;
}
@ -1308,6 +1309,7 @@ static int DetectFlowintTestPacket03Real(void)
UTHFreeFlow(f);
DetectEngineThreadCtxDeinit(&th_v,(void *) det_ctx);
DetectEngineCtxFree(de_ctx);
StatsThreadCleanup(&th_v);
PASS;
}

Loading…
Cancel
Save