From: Jim Meyering Date: Tue, 13 May 2003 14:32:10 +0000 (+0000) Subject: Remove unnecessary cast of argument to free. twice more X-Git-Tag: v5.0.1~508 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b20134e12cb3eb5a64cbb6d9b1c26f2567a6f61f;p=thirdparty%2Fcoreutils.git Remove unnecessary cast of argument to free. twice more --- diff --git a/src/tail.c b/src/tail.c index 92a775251d..2c7db3605c 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;