From: Wayne Davison Date: Tue, 24 Apr 2007 18:43:31 +0000 (+0000) Subject: Need to call unmake_file() instead of free() on a file_struct. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/b13505da1d2f8a7f6e8df88e0b421ff0e7a2da54 Need to call unmake_file() instead of free() on a file_struct. --- 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 = '/';