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