From b763885d1b167ca3a1c8f0fe8a8e797e19dffafe Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 24 Apr 2020 10:23:51 +0200 Subject: [PATCH] thash: suppress coverity fp's --- src/util-thash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util-thash.c b/src/util-thash.c index 29966689bc..b5ff4e4f1e 100644 --- a/src/util-thash.c +++ b/src/util-thash.c @@ -590,6 +590,7 @@ THashGetFromHash (THashTableContext *ctx, void *data) HRLOCK_UNLOCK(hb); res.data = h; res.is_new = false; + /* coverity[missing_unlock : FALSE] */ return res; } } @@ -601,6 +602,7 @@ THashGetFromHash (THashTableContext *ctx, void *data) HRLOCK_UNLOCK(hb); res.data = h; res.is_new = false; + /* coverity[missing_unlock : FALSE] */ return res; }