Skip to content

Commit

Permalink
free calloced memory
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBoeckermann committed Jun 20, 2023
1 parent e095467 commit 445e97f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/noit_metric_tag_search.c
Original file line number Diff line number Diff line change
Expand Up @@ -1370,6 +1370,9 @@ noit_metric_tag_search_evaluate_against_metric_id(const noit_metric_tag_search_a
&tagset_measurement};
const mtev_boolean ok =
noit_metric_tag_search_evaluate_against_tags_multi(search, tagsets, 3);
free(tagset_check.tags);
free(tagset_stream.tags);
free(tagset_measurement.tags);
mtev_memory_end();
return ok;
}
Expand Down

0 comments on commit 445e97f

Please sign in to comment.