Skip to content

Commit

Permalink
fixed leak
Browse files Browse the repository at this point in the history
  • Loading branch information
aodinokov committed Jun 6, 2024
1 parent fb375c6 commit dc984d4
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 @@ -162,6 +162,8 @@ void print_args_and_res(metac_tag_map_t * p_tag_map, metac_entry_t * p_entry, me
va_end(args);
printf(" returned %s\n", v);
free(v);

metac_value_delete(p_val);
}

#define METAC_WRAP_FN(_fn_, _args_...) ({ \
Expand Down

0 comments on commit dc984d4

Please sign in to comment.