diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2024-01-24 10:01:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 10:01:49 +0200 |
commit | 5e4055624e5d52d2ca9d9e943e8b284076cab488 (patch) | |
tree | 01c18a255fcc2c39a3e5059e0eb865270db8506d | |
parent | 3c6bc51c8c969a8d7c95334905ec675b8effb35c (diff) |
Fix coverity issue (#16831)
CID 414122: Resource leaks (RESOURCE_LEAK)
-rw-r--r-- | database/contexts/query_target.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/database/contexts/query_target.c b/database/contexts/query_target.c index 31ed689bda..b19a06d695 100644 --- a/database/contexts/query_target.c +++ b/database/contexts/query_target.c @@ -1324,5 +1324,7 @@ ssize_t weights_foreach_rrdmetric_in_context(RRDCONTEXT_ACQUIRED *rca, } dfe_done(ri); + free_label_pattern_list(lpl); + return count; } |