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:
parent
a7027bf89e
commit
2348e09557
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user