From 5c397e3a533e8e6297c49c4fa4f9befb143ed1e2 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 30 Mar 2012 15:09:04 +0200 Subject: [PATCH] flow: add missing unlocks for rare error condition at flow shut down. --- src/flow-timeout.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/flow-timeout.c b/src/flow-timeout.c index 974c47249d..3d2920a255 100644 --- a/src/flow-timeout.c +++ b/src/flow-timeout.c @@ -519,6 +519,7 @@ static inline void FlowForceReassemblyForHash(void) if (p == NULL) { TmqhOutputPacketpool(NULL, reassemble_p); + FBLOCK_UNLOCK(fb); return; } @@ -547,6 +548,7 @@ static inline void FlowForceReassemblyForHash(void) if (p == NULL) { TmqhOutputPacketpool(NULL, reassemble_p); + FBLOCK_UNLOCK(fb); return; } -- 2.47.2