Cast some F_OWNER()/F_GROUP() values to make sure that we don't get
[rsync/rsync.git] / backup.c
index 7189a5c..7db0d2c 100644 (file)
--- a/backup.c
+++ b/backup.c
@@ -155,7 +155,7 @@ static int make_bak_dir(char *fullpath)
                                }
 #endif
                                set_file_attrs(fullpath, file, NULL, NULL, 0);
-                               free(file);
+                               unmake_file(file);
                        }
                }
                *p = '/';