diff options
Diffstat (limited to 'lib/sqfs/blk_proc/serial.c')
-rw-r--r-- | lib/sqfs/blk_proc/serial.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sqfs/blk_proc/serial.c b/lib/sqfs/blk_proc/serial.c index 8e842fb..850c33d 100644 --- a/lib/sqfs/blk_proc/serial.c +++ b/lib/sqfs/blk_proc/serial.c @@ -68,7 +68,9 @@ int sqfs_block_processor_enqueue(sqfs_block_processor_t *proc, } block->next = NULL; - return process_completed_blocks(proc, block); + proc->status = process_completed_block(proc, block); + free(block); + return proc->status; } int sqfs_block_processor_finish(sqfs_block_processor_t *proc) |