Skip to content

Commit

Permalink
one more leak
Browse files Browse the repository at this point in the history
  • Loading branch information
aodinokov committed Jun 7, 2024
1 parent dc984d4 commit 7a7c467
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/c_print_args/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ void print_res(metac_tag_map_t * p_tag_map, metac_entry_t * p_entry, metac_value

printf("%s() returned %s\n", metac_entry_name(p_entry), v);
free(v);

metac_value_delete(p_val);
}

void print_args_and_res(metac_tag_map_t * p_tag_map, metac_entry_t * p_entry, metac_value_t * p_val, ...) {
Expand Down

0 comments on commit 7a7c467

Please sign in to comment.