From: Andreas Herz Date: Thu, 14 Dec 2017 00:10:33 +0000 (+0100) Subject: detect-engine: add missing mutex unlock X-Git-Tag: suricata-4.0.4~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ade46544ca19c04865b6fecbce2ec848702606e2;p=thirdparty%2Fsuricata.git detect-engine: add missing mutex unlock --- diff --git a/src/detect-engine.c b/src/detect-engine.c index 77d9b09fee..05fedbfa58 100644 --- a/src/detect-engine.c +++ b/src/detect-engine.c @@ -903,6 +903,7 @@ static int DetectEngineReloadThreads(DetectEngineCtx *new_de_ctx) TmSlot *slots = tv->tm_slots; while (slots != NULL) { if (suricata_ctl_flags != 0) { + SCMutexUnlock(&tv_root_lock); return -1; }