summaryrefslogtreecommitdiff
path: root/lib/fstree/sort_by_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fstree/sort_by_file.c')
-rw-r--r--lib/fstree/sort_by_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fstree/sort_by_file.c b/lib/fstree/sort_by_file.c
index 7d3f5cc..7f1f19f 100644
--- a/lib/fstree/sort_by_file.c
+++ b/lib/fstree/sort_by_file.c
@@ -328,6 +328,7 @@ int fstree_sort_files(fstree_t *fs, istream_t *sortfile)
"reconstructing node path\n",
filename, line_num);
free(line);
+ free(path);
return -1;
}