diff options
author | Jim Meyering <jim@meyering.net> | 2003-05-13 14:38:18 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-05-13 14:38:18 +0000 |
commit | 2a1e8507f426a656be686a78693a213ad59b160c (patch) | |
tree | 6db187ff87c57069aa45be570aaa8f7273e72086 | |
parent | aeec25d170f20f49c0577032f0abfe88ce0cd6ac (diff) | |
download | coreutils-2a1e8507f426a656be686a78693a213ad59b160c.tar.xz |
(delseq, freeline): Don't apply cast to argument of free.
-rw-r--r-- | src/join.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/join.c b/src/join.c index 8d3b95db0..668c34b60 100644 --- a/src/join.c +++ b/src/join.c @@ -277,7 +277,7 @@ get_line (FILE *fp, struct line *line) static void freeline (struct line *line) { - free ((char *) line->fields); + free (line->fields); free (line->buf.buffer); line->buf.buffer = NULL; } @@ -317,7 +317,7 @@ delseq (struct seq *seq) for (i = 0; i < seq->count; i++) if (seq->lines[i].buf.buffer) freeline (&seq->lines[i]); - free ((char *) seq->lines); + free (seq->lines); } /* Return <0 if the join field in LINE1 compares less than the one in LINE2; |