From: Eric S. Raymond Date: Tue, 2 Sep 2003 18:14:27 +0000 (+0000) Subject: Ready to put the pieces together. X-Git-Tag: 1.0~60 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=7d7ce8079a1485a22646264fa80e84d171166e48;p=comparator.git Ready to put the pieces together. --- diff --git a/shredtree.c b/shredtree.c index 85c9527..69b07ef 100644 --- a/shredtree.c +++ b/shredtree.c @@ -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)