From 7d7ce8079a1485a22646264fa80e84d171166e48 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 2 Sep 2003 18:14:27 +0000 Subject: [PATCH] Ready to put the pieces together. --- shredtree.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.43.0