summaryrefslogtreecommitdiffstats
path: root/hw/intc/arm_gicv3.c
diff options
context:
space:
mode:
authorLi Qiang2017-01-22 08:42:33 +0100
committerGerd Hoffmann2017-02-10 16:49:45 +0100
commitdd248ed7e204ee8a1873914e02b8b526e8f1b80d (patch)
tree97d08962a5fbbcd8391b3208543d134527b8d4b0 /hw/intc/arm_gicv3.c
parentMerge remote-tracking branch 'remotes/stsquad/tags/pull-travis-10022017-1' in... (diff)
downloadqemu-dd248ed7e204ee8a1873914e02b8b526e8f1b80d.tar.gz
qemu-dd248ed7e204ee8a1873914e02b8b526e8f1b80d.tar.xz
qemu-dd248ed7e204ee8a1873914e02b8b526e8f1b80d.zip
virtio-gpu: fix memory leak in set scanout
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 <liqiang6-s@360.cn> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 5884626f.5b2f6b0a.1bfff.3037@mx.google.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/intc/arm_gicv3.c')
0 files changed, 0 insertions, 0 deletions