aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorAlexander Shishkin <virtuoso@slind.org>2010-10-21 00:25:45 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-10-21 00:25:45 +0200
commit2348e09557c5ff9cac134cfeeffd149f90a44971 (patch)
treeb07aaf83baa475d002e96adfa84c6fd0747b3077 /coreutils
parenta7027bf89e57d59958641ee7033e0f85f26ef412 (diff)
downloadbusybox-w32-2348e09557c5ff9cac134cfeeffd149f90a44971.tar.gz
busybox-w32-2348e09557c5ff9cac134cfeeffd149f90a44971.tar.bz2
busybox-w32-2348e09557c5ff9cac134cfeeffd149f90a44971.zip
tail: free tailbuf upon cleaning up
Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/tail.c1
1 files changed, 1 insertions, 0 deletions
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)
346 } 346 }
347 if (ENABLE_FEATURE_CLEAN_UP) { 347 if (ENABLE_FEATURE_CLEAN_UP) {
348 free(fds); 348 free(fds);
349 free(tailbuf);
349 } 350 }
350 return G.status; 351 return G.status;
351} 352}