summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2022-05-31 09:19:14 +0300
committerGitHub <noreply@github.com>2022-05-31 09:19:14 +0300
commit46bdf0b4ceac28866c4345cf972c326b7a2f845e (patch)
tree44b4ceb45eac9bd0d2b8397dbedbbab0aa308f6e /web
parent4330eaaf115066c51bad64829fb7ac558892014f (diff)
Fix coverity issue 378617,378615 (#13021)
* Fix CID 378617 * Fix CID 378615 * Make sure the ST rrdr lock indicator is set/reset while holding a lock * Switch to int
Diffstat (limited to 'web')
-rw-r--r--web/api/queries/rrdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/queries/rrdr.c b/web/api/queries/rrdr.c
index 03b71db558..4d05778c18 100644
--- a/web/api/queries/rrdr.c
+++ b/web/api/queries/rrdr.c
@@ -78,8 +78,8 @@ inline static void rrdr_unlock_rrdset(RRDR *r) {
}
if(likely(r->has_st_lock)) {
- rrdset_unlock(r->st);
r->has_st_lock = 0;
+ rrdset_unlock(r->st);
}
}