[PATCH 1/2] tail: free tailbuf upon cleaning up
Alexander Shishkin
virtuoso at slind.org
Wed Oct 20 20:58:05 UTC 2010
Signed-off-by: Alexander Shishkin <virtuoso at slind.org>
---
coreutils/tail.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 44698f3..df881a3 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -346,6 +346,7 @@ int tail_main(int argc, char **argv)
}
if (ENABLE_FEATURE_CLEAN_UP) {
free(fds);
+ free(tailbuf);
}
return G.status;
}
--
1.7.2.1.45.gb66c2
More information about the busybox
mailing list