summaryrefslogtreecommitdiff
path: root/debianutils/readlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'debianutils/readlink.c')
-rw-r--r--debianutils/readlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/readlink.c b/debianutils/readlink.c
index b6b4965..d454cbf 100644
--- a/debianutils/readlink.c
+++ b/debianutils/readlink.c
@@ -43,7 +43,7 @@ int readlink_main(int argc, char **argv)
return EXIT_FAILURE;
puts(buf);
- if (ENABLE_FEATURE_CLEAN_UP && buf != bb_common_bufsiz1)
+ if (ENABLE_FEATURE_CLEAN_UP && !opt)
free(buf);
fflush_stdout_and_exit(EXIT_SUCCESS);