diff --git a/examples/unix/c11/z_pub.c b/examples/unix/c11/z_pub.c index f6f9e6bd5..5da6db5d8 100644 --- a/examples/unix/c11/z_pub.c +++ b/examples/unix/c11/z_pub.c @@ -113,9 +113,6 @@ int main(int argc, char **argv) { z_close(z_move(s)); - if (value != default_value) { - free(value); - } return 0; } #else