[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] virtio-gpu: fix memory leak in set scanout
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] virtio-gpu: fix memory leak in set scanout |
Date: |
Mon, 06 Feb 2017 15:30:20 +0100 |
On Sa, 2017-01-21 at 23:42 -0800, Li Qiang wrote:
> From: Li Qiang <address@hidden>
>
> In virtio_gpu_set_scanout function, when creating the 'rect'
> its refcount is set to 2, by pixman_image_create_bits and
> qemu_create_displaysurface_pixman function. This can lead
> a memory leak issues. This patch avoid this issue.
>
> Signed-off-by: Li Qiang <address@hidden>
Added to vga patch queue.
thanks,
Gerd