summaryrefslogtreecommitdiffstats
path: root/async.c
diff options
context:
space:
mode:
authorLi Qiang2016-11-29 03:29:25 +0100
committerGerd Hoffmann2017-01-03 15:47:16 +0100
commitb8e23926c568f2e963af39028b71c472e3023793 (patch)
treeb0609d9f7ccb775c8dae5ede4b5a29ae4a24349a /async.c
parentvirtio-gpu: track and limit host memory allocations (diff)
downloadqemu-b8e23926c568f2e963af39028b71c472e3023793.tar.gz
qemu-b8e23926c568f2e963af39028b71c472e3023793.tar.xz
qemu-b8e23926c568f2e963af39028b71c472e3023793.zip
virtio-gpu: call cleanup mapping function in resource destroy
If the guest destroy the resource before detach banking, the 'iov' and 'addrs' field in resource is not freed thus leading memory leak issue. This patch avoid this. Signed-off-by: Li Qiang <liq3ea@gmail.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 1480386565-10077-1-git-send-email-liq3ea@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'async.c')
0 files changed, 0 insertions, 0 deletions