fix memory leak in virtio_gpu_resource_destroy
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | virtio-gpu: add declaration for virtio_gpu_cleanup_mapping functionhw/ | +2 | 0 replies | |
| 2/2 | virtio-gpu: call cleanup mapping function in resource destroyhw/ | +1 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Marc-André Lureau |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/2] fix memory leak in virtio_gpu_resource_destroy
If the guest destroy the resource before detach banking, the 'iov' and 'addrs' field in resource is not freed thus leading memory leak issue. This patchset address this.
Li Qiang (2):
virtio-gpu: add declaration for virtio_gpu_cleanup_mapping function
virtio-gpu: call cleanup mapping function in resource destroy
hw/display/virtio-gpu.c | 3 +++ 1 file changed, 3 insertions(+)
Signature · 1 line
1.8.3.1