diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2017-01-23 11:26:50 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-02-10 16:49:45 +0100 |
| commit | 5e8e3c4c75c199aa1017db816fca02be2a9f8798 (patch) | |
| tree | 9df5ec8dd572a5e96a2b7403ab8a1006c68ca9aa /hw/pci-host/pam.c | |
| parent | dd248ed7e204ee8a1873914e02b8b526e8f1b80d (diff) | |
| download | focaccia-qemu-5e8e3c4c75c199aa1017db816fca02be2a9f8798.tar.gz focaccia-qemu-5e8e3c4c75c199aa1017db816fca02be2a9f8798.zip | |
virtio-gpu: fix resource leak in virgl_cmd_resource_unref
When the guest sends VIRTIO_GPU_CMD_RESOURCE_UNREF without detaching the backing storage beforehand (VIRTIO_GPU_CMD_RESOURCE_DETACH_BACKING) we'll leak memory. This patch fixes it for 3d mode, simliar to the 2d mode fix in commit "b8e2392 virtio-gpu: call cleanup mapping function in resource destroy". Reported-by: 李强 <liqiang6-s@360.cn> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 1485167210-4757-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'hw/pci-host/pam.c')
0 files changed, 0 insertions, 0 deletions