mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-05 16:19:23 +02:00
maint: sort.c: fix syntax-check issue in recent commit
* src/sort.c (keycompare): Avoid useless if before free() as detected with sc_avoid_if_before_free.
This commit is contained in:
+1
-2
@@ -2706,8 +2706,7 @@ keycompare (struct line const *a, struct line const *b)
|
||||
ta[tlena] = enda;
|
||||
tb[tlenb] = endb;
|
||||
|
||||
if (allocated)
|
||||
free (allocated);
|
||||
free (allocated);
|
||||
}
|
||||
else if (ignore)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user