virtio-blk: Fix memleak on exit
commitd92551f28eff7cb6572ed3147399e51f5f5dfc22
authorAmit Shah <amit.shah@redhat.com>
Wed, 27 Jul 2011 08:30:30 +0000 (27 14:00 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 27 Jul 2011 17:08:19 +0000 (27 20:08 +0300)
tree9ad92ab5eb940e1781feb0426251bcf6f420c886
parent1129714ff43bd947740d587956a655210e8b93ed
virtio-blk: Fix memleak on exit

Calling virtio_cleanup() will free up memory allocated in
virtio_common_init().

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio-blk.c