Skip to content

Commit

Permalink
FIX: using FREE_MEM instead of free directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jun 27, 2018
1 parent e2f7b2f commit 89a055d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/host-args.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ const struct arg_chr arg_chars2[] = {
args = MAKE_STR(size);
memcpy(args, tmp, arg_buf_size);
arg_buf_size = size;
free(tmp);
FREE_MEM(tmp);
}
len = arg_buf_size - LEN_STR(args) - 2; // space remaining
JOIN_STR(args, arg, len);
Expand Down

0 comments on commit 89a055d

Please sign in to comment.