mirror of
https://github.com/coreutils/coreutils.git
synced 2025-01-10 18:13:25 +08:00
(record_dest): Fix test for whether to free `ent'.
Thank heavens for regression tests.
This commit is contained in:
parent
110190e4d9
commit
f5b2352264
@ -681,7 +681,7 @@ record_dest (char const *dest, struct stat const *dest_stats)
|
||||
xalloc_die ();
|
||||
}
|
||||
|
||||
if (ent_from_table == ent)
|
||||
if (ent_from_table != ent)
|
||||
{
|
||||
/* There was alread a matching entry in the table, so ENT was
|
||||
not inserted. Free it. */
|
||||
|
Loading…
Reference in New Issue
Block a user