mbox series

[v2,0/2] vhost: release memory objects in an error path

Message ID 20230529114333.31686-1-ppandit@redhat.com (mailing list archive)
Headers show
Series vhost: release memory objects in an error path | expand

Message

Prasad Pandit May 29, 2023, 11:43 a.m. UTC
From: Prasad Pandit <pjp@fedoraproject.org>

Hi,

vhost_dev_start function does not release memory objects in case of
an error. These couple of patches fix this glitch.

Thank you.
---
Prasad Pandit (2):
  vhost: release memory_listener object in error path
  vhost: release virtqueue objects in error path

 hw/virtio/vhost.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

--
2.40.1