Peter Maydell c84f0f25db 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>
2017-01-11 09:19:05 +01:00
..
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2014-07-11 10:17:02 +02:00
2016-01-29 15:07:24 +00:00
2016-01-29 15:07:24 +00:00
2016-05-13 09:33:38 +01:00
2016-06-14 16:01:03 +01:00
2016-01-29 15:07:24 +00:00
2016-10-24 16:26:56 +01:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:24 +00:00
2016-01-29 15:07:24 +00:00
2016-09-22 18:13:08 +01:00
2016-01-29 15:07:24 +00:00
2016-09-08 18:05:21 +04:00
2016-01-29 15:07:24 +00:00
2016-10-28 17:54:39 -07:00