From: Victor Julien Date: Fri, 24 Apr 2020 08:23:51 +0000 (+0200) Subject: thash: suppress coverity fp's X-Git-Tag: suricata-6.0.0-beta1~473 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b763885d1b167ca3a1c8f0fe8a8e797e19dffafe;p=thirdparty%2Fsuricata.git thash: suppress coverity fp's --- 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; }