Need to call unmake_file() instead of free() on a file_struct.
authorWayne Davison <wayned@samba.org>
Tue, 24 Apr 2007 18:43:31 +0000 (18:43 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 24 Apr 2007 18:43:31 +0000 (18:43 +0000)
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 = '/';