aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfshelper
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfshelper')
-rw-r--r--lib/sqfshelper/data_reader_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfshelper/data_reader_dump.c b/lib/sqfshelper/data_reader_dump.c
index a9b6bb9..a6c7aa2 100644
--- a/lib/sqfshelper/data_reader_dump.c
+++ b/lib/sqfshelper/data_reader_dump.c
@@ -57,8 +57,8 @@ int sqfs_data_reader_dump(sqfs_data_reader_t *data,
return -1;
}
- free(blk);
filesz -= blk->size;
+ free(blk);
}
}