mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(sort): Don't apply cast to argument of free.
This commit is contained in:
1 parent
40b700eadb
commit
6fc0245123
1 file changed
+1
-1
+1
-1
@@ -2005,7 +2005,7 @@ sort (char **files, int nfiles, char const *output_file)
|
||||
for (node = temphead; i > 0; node = node->next)
|
||||
tempfiles[--i] = node->name;
|
||||
merge (tempfiles, n_temp_files, NMERGE, output_file);
|
||||
free ((char *) tempfiles);
|
||||
free (tempfiles);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user