From 2348e09557c5ff9cac134cfeeffd149f90a44971 Mon Sep 17 00:00:00 2001 From: Alexander Shishkin Date: Thu, 21 Oct 2010 00:25:45 +0200 Subject: tail: free tailbuf upon cleaning up Signed-off-by: Alexander Shishkin Signed-off-by: Denys Vlasenko --- coreutils/tail.c | 1 + 1 file changed, 1 insertion(+) (limited to 'coreutils/tail.c') 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; } -- cgit v1.2.3