tests: fix memory leak in virtio-scsi-test
commitf62e0bbb39eec088ff4fbe6a7ec38af51fac5e94
authorLaurent Vivier <lvivier@redhat.com>
Mon, 17 Oct 2016 10:30:19 +0000 (17 12:30 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 27 Oct 2016 22:36:58 +0000 (28 09:36 +1100)
treef16d55c5113c6ff9cf744ac28c2c6760c917e4c0
parentb1fc72f0fb0aeae4194ff89c454aabe019983d0d
tests: fix memory leak in virtio-scsi-test

vs is allocated in qvirtio_scsi_pci_init() and never freed.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tests/virtio-scsi-test.c