aboutsummaryrefslogtreecommitdiff
path: root/tar/tar2sqfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar/tar2sqfs.c')
-rw-r--r--tar/tar2sqfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index 856a1f4..51987fe 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -303,7 +303,7 @@ static int write_file(tar_header_decoded_t *hdr, file_info_t *fi,
flags |= SQFS_BLK_DONT_FRAGMENT;
ret = write_data_from_file(hdr->name, sqfs.data, inode, file, 0);
- file->destroy(file);
+ sqfs_destroy(file);
if (ret)
return -1;