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 1a4e727 commit 00c6540
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/noit_metric_tag_search.c
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 00c6540

Please sign in to comment.