qemu-patch-raspberry4/contrib
Yongji Xie bb102d1da1 libvhost-user: Fix resource leak
Free the mmaped memory when we need to mmap new memory
space on vu_set_mem_table_exec() and vu_set_log_base_exec() to
avoid memory leak.

Also close the corresponding fd after mmap() on
vu_set_log_base_exec() to avoid fd leak.

Signed-off-by: Yongji Xie <xieyongji@baidu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2018-02-13 18:25:48 +02:00
..
ivshmem-client Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
ivshmem-server Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
libvhost-user libvhost-user: Fix resource leak 2018-02-13 18:25:48 +02:00
systemd contrib: add systemd unit files 2017-12-20 22:29:26 +01:00
vhost-user-blk contrib/vhost-user-blk: introduce a vhost-user-blk sample application 2018-01-18 21:52:37 +02:00
vhost-user-scsi vhost-user-scsi: remove server_sock from VusDev 2017-10-10 23:31:09 +02:00