aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-04 17:15:22 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-04 17:15:22 -0500
commit81e34a2401f7ffd519bb7f093e833cb48734169f (patch)
tree146a7b6eebbee1367453fde501d4462ac6d9f8b4 /hw/virtio.c
parente06516f565dca3636a4cbef770b191a5fcdf63ab (diff)
parentcb4b4fde82b064472c13fb9d983ca36a70e560aa (diff)
downloadqemu-81e34a2401f7ffd519bb7f093e833cb48734169f.zip
qemu-81e34a2401f7ffd519bb7f093e833cb48734169f.tar.gz
qemu-81e34a2401f7ffd519bb7f093e833cb48734169f.tar.bz2
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 a8f4940..93dfb1e 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)