+-- On Tue, 4 May 2021, Li Qiang wrote --+
| If the guest trigger following sequences, the attach_backing will be leaked:
|
| vg_resource_create_2d
| vg_resource_attach_backing
| vg_resource_unref
|
| This patch fix this by freeing 'res->iov' in vg_resource_destroy.
|
| Signed-
If the guest trigger following sequences, the attach_backing will be leaked:
vg_resource_create_2d
vg_resource_attach_backing
vg_resource_unref
This patch fix this by freeing 'res->iov' in vg_resource_destroy.
Signed-off-by: Li Qiang
---
contrib/vhost-user-gpu/vhost-use