summaryrefslogtreecommitdiffstats
path: root/hw/virtio.c
diff options
context:
space:
mode:
authorAnthony Liguori2011-08-05 00:15:22 +0200
committerAnthony Liguori2011-08-05 00:15:22 +0200
commit81e34a2401f7ffd519bb7f093e833cb48734169f (patch)
tree146a7b6eebbee1367453fde501d4462ac6d9f8b4 /hw/virtio.c
parentMerge remote-tracking branch 'alon/pull-libcacard.data' into staging (diff)
parentvhost: remove an incorrect assert (diff)
downloadqemu-81e34a2401f7ffd519bb7f093e833cb48734169f.tar.gz
qemu-81e34a2401f7ffd519bb7f093e833cb48734169f.tar.xz
qemu-81e34a2401f7ffd519bb7f093e833cb48734169f.zip
Merge remote-tracking branch 'mst/for_anthony' into staging
Diffstat (limited to 'hw/virtio.c')
-rw-r--r--hw/virtio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/virtio.c b/hw/virtio.c
index a8f4940da2..93dfb1e359 100644
--- a/hw/virtio.c
+++ b/hw/virtio.c
@@ -834,6 +834,7 @@ void virtio_cleanup(VirtIODevice *vdev)
if (vdev->config)
qemu_free(vdev->config);
qemu_free(vdev->vq);
+ qemu_free(vdev);
}
static void virtio_vmstate_change(void *opaque, int running, int reason)