]> thyrsus.com Git - comparator.git/commitdiff
Ready to put the pieces together.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 2 Sep 2003 18:14:27 +0000 (18:14 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 2 Sep 2003 18:14:27 +0000 (18:14 +0000)
shredtree.c

index 85c9527518fdb45198d90e3b1a440c2deaa2e581..69b07efc545aed12fb62b1c31b7be7cea8955f2e 100644 (file)
@@ -218,6 +218,9 @@ static char **sorted_file_list(const char *tree)
 
     /* the objective -- sort */
     qsort(list, file_count, sizeof(char *), stringsort);
+
+    /* caller is responsible for freeing this */
+    return(list);
 }
 
 void generate_shredfile(const char *tree, FILE *ofp)