aboutsummaryrefslogtreecommitdiff
path: root/extras/mknastyfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mknastyfs.c')
-rw-r--r--extras/mknastyfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mknastyfs.c b/extras/mknastyfs.c
index daadf37..20074d3 100644
--- a/extras/mknastyfs.c
+++ b/extras/mknastyfs.c
@@ -146,7 +146,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);