summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/tail.c1
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;
}