aboutsummaryrefslogtreecommitdiff
path: root/extras/mk42sqfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mk42sqfs.c')
-rw-r--r--extras/mk42sqfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mk42sqfs.c b/extras/mk42sqfs.c
index 92323e0..08dffe6 100644
--- a/extras/mk42sqfs.c
+++ b/extras/mk42sqfs.c
@@ -167,7 +167,7 @@ int main(void)
sqfs_meta_writer_get_position(inode_m, &block_start, &offset);
super.root_inode_ref = (block_start << 16) | offset;
sqfs_meta_writer_write_inode(inode_m, inode);
- free(inode);
+ sqfs_free(inode);
/* flush the meta data to the file */
sqfs_meta_writer_flush(inode_m);