Skip to content

Commit

Permalink
Fix coverity issue (netdata#16831)
Browse files Browse the repository at this point in the history
CID 414122:  Resource leaks  (RESOURCE_LEAK)
  • Loading branch information
stelfrag committed Jan 24, 2024
1 parent 3c6bc51 commit 5e40556
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions database/contexts/query_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -1324,5 +1324,7 @@ ssize_t weights_foreach_rrdmetric_in_context(RRDCONTEXT_ACQUIRED *rca,
}
dfe_done(ri);

free_label_pattern_list(lpl);

return count;
}

0 comments on commit 5e40556

Please sign in to comment.