summaryrefslogtreecommitdiffstats
path: root/include/exec/memory-internal.h
diff options
context:
space:
mode:
authorLi Qiang2016-11-01 12:06:58 +0100
committerGerd Hoffmann2016-12-05 09:37:52 +0100
commit2d1cd6c7a91a4beb99a0c3a21be529222a708545 (patch)
tree7a5f90e17d4466471002a25fa97ae430f4f0edb8 /include/exec/memory-internal.h
parentvirtio-gpu: fix information leak in getting capset info dispatch (diff)
downloadqemu-2d1cd6c7a91a4beb99a0c3a21be529222a708545.tar.gz
qemu-2d1cd6c7a91a4beb99a0c3a21be529222a708545.tar.xz
qemu-2d1cd6c7a91a4beb99a0c3a21be529222a708545.zip
virtio-gpu: fix memory leak in update_cursor_data_virgl
In update_cursor_data_virgl function, if the 'width'/ 'height' is not equal to current cursor's width/height it will return without free the 'data' allocated previously. This will lead a memory leak issue. This patch fix this issue. Signed-off-by: Li Qiang <liqiang6-s@360.cn> Message-id: 58187760.41d71c0a.cca75.4cb9@mx.google.com Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/exec/memory-internal.h')
0 files changed, 0 insertions, 0 deletions