unittest: fix mutex unlock w/o a lock

Fixes an error in a test. SCMutexUnlock was called w/o a prior
SCMutexLock.
pull/859/head
Victor Julien 11 years ago
parent 82ae41d320
commit df927f7ea8

@ -5285,7 +5285,6 @@ static int SigTest07Real (int mpm_type) {
end: end:
if (alp_tctx != NULL) if (alp_tctx != NULL)
AppLayerParserThreadCtxFree(alp_tctx); AppLayerParserThreadCtxFree(alp_tctx);
SCMutexUnlock(&f.m);
UTHFreePackets(&p, 1); UTHFreePackets(&p, 1);
StreamTcpFreeConfig(TRUE); StreamTcpFreeConfig(TRUE);
FlowCleanupAppLayer(&f); FlowCleanupAppLayer(&f);

Loading…
Cancel
Save