Re: [PATCH] hw/virtio: Fix leak of host-notifier memory-region

2021-08-12 Thread Stefano Garzarella
On Thu, Aug 12, 2021 at 04:37:26AM +0300, Yajun Wu via wrote: If call virtio_queue_set_host_notifier_mr fails, should free host-notifier memory-region. We can add: Fixes: 44866521bd ("vhost-user: support registering external host notifiers") Signed-off-by: Yajun Wu --- hw/virtio/vhost-user.c

[PATCH] hw/virtio: Fix leak of host-notifier memory-region

2021-08-11 Thread Yajun Wu via
If call virtio_queue_set_host_notifier_mr fails, should free host-notifier memory-region. Signed-off-by: Yajun Wu --- hw/virtio/vhost-user.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c index aec6cc1..3ae5297 100644 --- a/hw/virtio/vhost-use