Skip to content

Commit

Permalink
Remove invalid free of value pointer into argv array. (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmartin82 authored Dec 6, 2023
1 parent 74f9a06 commit ae3c237
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/unix/c11/z_pub.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ int main(int argc, char **argv) {

z_close(z_move(s));

if (value != default_value) {
free(value);
}
return 0;
}
#else
Expand Down

0 comments on commit ae3c237

Please sign in to comment.