Displaying 1 result from an estimated 1 matches for "free_struct".
2004 Feb 06
4
memory reduction
...p;st)) return 1;
 #endif
 
-	file = make_file(fname, NO_EXCLUDES);
+	file = make_file(fname, NULL, NO_EXCLUDES);
 
 	/* the file could have disappeared */
 	if (!file) return 1;
@@ -282,7 +283,7 @@ static int keep_backup(char *fname)
 		}
 	}
 	set_perms(keep_name, file, NULL, 0);
-	free_file(file, FREE_STRUCT);
+	free(file);
 
 	if (verbose > 1)
 		rprintf(FINFO, "keep_backup %s -> %s\n", fname, keep_name);
diff -rupNP --exclude-from cvs/.ignore cvs/batch.c pool2/batch.c
--- cvs/batch.c	Thu Feb  5 20:47:31 2004
+++ pool2/batch.c	Thu Feb  5 20:51:14 2004
@@ -136,9 +136,7 @@ struct file_li...