From df927f7ea89b0652dd140bf2633422a76a00c9ab Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 27 Feb 2014 14:31:46 +0100 Subject: [PATCH] unittest: fix mutex unlock w/o a lock Fixes an error in a test. SCMutexUnlock was called w/o a prior SCMutexLock. --- src/detect.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/detect.c b/src/detect.c index 476221539e..efdafc6c55 100644 --- a/src/detect.c +++ b/src/detect.c @@ -5285,7 +5285,6 @@ static int SigTest07Real (int mpm_type) { end: if (alp_tctx != NULL) AppLayerParserThreadCtxFree(alp_tctx); - SCMutexUnlock(&f.m); UTHFreePackets(&p, 1); StreamTcpFreeConfig(TRUE); FlowCleanupAppLayer(&f); -- 2.47.2