diff --git a/hw/nvme/ctrl.c b/hw/nvme/ctrl.c index 027d67f10b..ed56ad40b3 100644 --- a/hw/nvme/ctrl.c +++ b/hw/nvme/ctrl.c @@ -2465,6 +2465,7 @@ next: done: iocb->aiocb = NULL; iocb->common.cb(iocb->common.opaque, iocb->ret); + g_free(iocb->range); qemu_aio_unref(iocb); }