tail: free tailbuf upon cleaning up

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Alexander Shishkin 2010-10-21 00:25:45 +02:00 committed by Denys Vlasenko
parent a7027bf89e
commit 2348e09557

View File

@ -346,6 +346,7 @@ int tail_main(int argc, char **argv)
} }
if (ENABLE_FEATURE_CLEAN_UP) { if (ENABLE_FEATURE_CLEAN_UP) {
free(fds); free(fds);
free(tailbuf);
} }
return G.status; return G.status;
} }