aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}