From: Alexander Shishkin Date: Wed, 20 Oct 2010 22:25:45 +0000 (+0200) Subject: tail: free tailbuf upon cleaning up X-Git-Tag: 1_18_0~101 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2348e09557c5ff9cac134cfeeffd149f90a44971;p=oweals%2Fbusybox.git tail: free tailbuf upon cleaning up Signed-off-by: Alexander Shishkin Signed-off-by: Denys Vlasenko --- diff --git a/coreutils/tail.c b/coreutils/tail.c index 44698f304..df881a37a 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; }