summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cp-hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cp-hash.c b/src/cp-hash.c
index b245994ba..85182ad6d 100644
--- a/src/cp-hash.c
+++ b/src/cp-hash.c
@@ -128,7 +128,7 @@ remember_copied (const char *name, ino_t ino, dev_t dev)
return the `name' from the table entry. */
if (ent_from_table != ent)
{
- free (ent);
+ src_to_dest_free (ent);
return (char *) ent_from_table->name;
}