[git commit master 1/1] tail: free tailbuf upon cleaning up

Denys Vlasenko vda.linux at googlemail.com
Wed Oct 20 22:25:45 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=2348e09557c5ff9cac134cfeeffd149f90a44971
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Alexander Shishkin <virtuoso at slind.org>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 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.1



More information about the busybox-cvs mailing list