summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-04-24 18:43:31 +0000
committerWayne Davison <wayned@samba.org>2007-04-24 18:43:31 +0000
commitb13505da1d2f8a7f6e8df88e0b421ff0e7a2da54 (patch)
tree2f6788bd51c614c5e2043ac1ccf200d055f9cdf0
parent7ea6ea98c87b77e12c1c13699ddf3baf2bc0589a (diff)
downloadrsync-b13505da1d2f8a7f6e8df88e0b421ff0e7a2da54.tar.gz
rsync-b13505da1d2f8a7f6e8df88e0b421ff0e7a2da54.tar.bz2
rsync-b13505da1d2f8a7f6e8df88e0b421ff0e7a2da54.zip
Need to call unmake_file() instead of free() on a file_struct.
-rw-r--r--backup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup.c b/backup.c
index 7189a5c2..7db0d2c2 100644
--- 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 = '/';