summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common/hardlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/common/hardlink.c b/lib/common/hardlink.c
index c1fca8a..ac01938 100644
--- a/lib/common/hardlink.c
+++ b/lib/common/hardlink.c
@@ -89,6 +89,7 @@ int sqfs_tree_find_hard_links(const sqfs_tree_node_t *root,
}
*out = hardlinks;
+ free(list);
return 0;
fail:
perror("detecting hard links in file system tree");