From b20134e12cb3eb5a64cbb6d9b1c26f2567a6f61f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 13 May 2003 14:32:10 +0000 Subject: [PATCH] Remove unnecessary cast of argument to free. twice more --- src/tail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tail.c b/src/tail.c index 92a7752..2c7db36 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; -- 2.7.4