Li Qiang dd248ed7e2 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>
2017-02-10 16:49:45 +01:00
..
2016-10-04 13:28:07 +01:00
2017-02-02 16:08:28 +00:00
2017-01-27 18:08:00 +01:00
2017-01-31 10:10:13 +11:00
2017-01-20 11:15:06 +00:00
2017-02-03 12:31:40 +00:00
2017-02-02 16:08:28 +00:00
2016-05-18 15:04:27 +03:00
2017-02-06 12:33:21 +11:00
2017-01-27 18:07:59 +01:00
2017-01-27 18:07:59 +01:00
2017-02-02 16:08:28 +00:00
2017-01-24 17:54:47 +00:00
2017-02-02 18:48:06 +00:00
2016-01-29 15:07:25 +00:00
2016-10-28 18:17:24 +03:00
2016-09-15 15:32:22 +03:00
2017-02-06 12:12:26 +01:00
2017-02-02 16:08:28 +00:00
2017-02-01 03:37:18 +02:00
2017-02-03 12:31:40 +00:00