diff options
author | Jim Meyering <jim@meyering.net> | 2003-05-13 14:32:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-05-13 14:32:10 +0000 |
commit | b20134e12cb3eb5a64cbb6d9b1c26f2567a6f61f (patch) | |
tree | c7ac8225435a0d34bbf2356e6640ab6e4d5fe93a | |
parent | 949f3a3c7665956a66dc3e4b6a17fa31107ac5d0 (diff) | |
download | coreutils-b20134e12cb3eb5a64cbb6d9b1c26f2567a6f61f.tar.xz |
Remove unnecessary cast of argument to free. twice more
-rw-r--r-- | src/tail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tail.c b/src/tail.c index 92a775251..2c7db3605 100644 --- a/src/tail.c +++ b/src/tail.c @@ -570,7 +570,7 @@ pipe_lines (const char *pretty_filename, int fd, uintmax_t n_lines) } } - free ((char *) tmp); + free (tmp); if (n_read == SAFE_READ_ERROR) { @@ -722,7 +722,7 @@ free_cbuffers: while (first) { tmp = first->next; - free ((char *) first); + free (first); first = tmp; } return errors; |