(record_dest): Fix test for whether to free `ent'.

Thank heavens for regression tests.
This commit is contained in:
Jim Meyering 2001-10-06 17:07:15 +00:00
parent 110190e4d9
commit f5b2352264

View File

@ -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. */