aboutsummaryrefslogtreecommitdiff
path: root/bin/gensquashfs/fstree_from_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gensquashfs/fstree_from_file.c')
-rw-r--r--bin/gensquashfs/fstree_from_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gensquashfs/fstree_from_file.c b/bin/gensquashfs/fstree_from_file.c
index feacbbc..e26d4b1 100644
--- a/bin/gensquashfs/fstree_from_file.c
+++ b/bin/gensquashfs/fstree_from_file.c
@@ -586,6 +586,6 @@ int fstree_from_file(fstree_t *fs, const char *filename, const char *basepath)
ret = fstree_from_file_stream(fs, fp, basepath);
- sqfs_destroy(fp);
+ sqfs_drop(fp);
return ret;
}