diff options
Diffstat (limited to 'linux-aio.c')
-rw-r--r-- | linux-aio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-aio.c b/linux-aio.c index bffa6cd0e3..50da75db19 100644 --- a/linux-aio.c +++ b/linux-aio.c @@ -185,10 +185,10 @@ BlockDriverAIOCB *laio_submit(BlockDriverState *bs, void *aio_ctx, int fd, goto out_dec_count; return &laiocb->common; -out_free_aiocb: - qemu_aio_release(laiocb); out_dec_count: s->count--; +out_free_aiocb: + qemu_aio_release(laiocb); return NULL; } |