diff options
author | Jim Meyering <jim@meyering.net> | 2003-05-13 14:37:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-05-13 14:37:33 +0000 |
commit | 038a9b42a6916d0af372377507368911ae371dfa (patch) | |
tree | b092afff7f29057926a7110fced3b2fe6256f958 /src | |
parent | 25227196a87e37917762d55fef3a049a6b1e13da (diff) | |
download | coreutils-038a9b42a6916d0af372377507368911ae371dfa.tar.xz |
(init_fps, init_store_cols): Don't apply cast to argument of free.
Diffstat (limited to 'src')
-rw-r--r-- | src/pr.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1338,7 +1338,7 @@ init_fps (int number_of_files, char **av) total_files = 0; if (column_vector != NULLCOL) - free ((char *) column_vector); + free (column_vector); column_vector = xmalloc (columns * sizeof (COLUMN)); if (parallel_files) @@ -1907,12 +1907,12 @@ init_store_cols (void) int chars_if_truncate = total_lines * (chars_per_column + 1); if (line_vector != NULL) - free ((int *) line_vector); + free (line_vector); /* FIXME: here's where it was allocated. */ line_vector = xmalloc ((total_lines + 1) * sizeof (int *)); if (end_vector != NULL) - free ((int *) end_vector); + free (end_vector); end_vector = xmalloc (total_lines * sizeof (int *)); if (buff != NULL) |