Searched hist:"7 f3be0f2" (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/display/ |
H A D | virtio-gpu.c | 7f3be0f2 Tue Sep 15 07:23:14 GMT 2015 Gerd Hoffmann <kraxel@redhat.com> virtio-gpu: move iov free to virtio_gpu_cleanup_mapping_iov
For symmetry reasons: virtio_gpu_create_mapping_iov() allocates it so virtio_gpu_cleanup_mapping_iov() should free it, otherwise it's easy to miss a free() needed and leak memory.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
|