Searched hist:c84f0f25 (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/display/ |
H A D | virtio-gpu.c | c84f0f25 Mon Jan 09 13:38:43 GMT 2017 Peter Maydell <peter.maydell@linaro.org> virtio-gpu: Fix memory leak in virtio_gpu_load()
Coverity points out that if we fail in the "creating resources" loop in virtio_gpu_load() we will leak various resources (CID 1356431). Failing a VM load is going to leave the simulation in a complete mess, but we can tidy up to the point that a full system reset should get us back to sanity.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1483969123-14839-3-git-send-email-peter.maydell@linaro.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|