Searched hist:cb3a0522 (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/display/ |
H A D | virtio-gpu.c | cb3a0522 Mon Sep 19 02:07:11 GMT 2016 Li Qiang <liqiang6-s@360.cn> virtio-gpu: fix memory leak in virtio_gpu_resource_create_2d
In virtio gpu resource create dispatch, if the pixman format is zero it doesn't free the resource object allocated previously. Thus leading a host memory leak issue. This patch avoid this.
Signed-off-by: Li Qiang <liqiang6-s@360.cn> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 57df486e.8379240a.c3620.ff81@mx.google.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|