virtio-scsi: Plug memory leak on virtio_scsi_push_event() error path
commit2dbd09ff5cee5fdfe6b3c796573d9954fd6e0381
authorMarkus Armbruster <armbru@redhat.com>
Fri, 16 May 2014 15:44:06 +0000 (16 17:44 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 21 Jul 2014 03:33:18 +0000 (20 22:33 -0500)
treee6a9e47b4267db9945a219edab03798067fbc31c
parent3d5acbeb71573ba0acf5af39a78dd66bdba392fe
virtio-scsi: Plug memory leak on virtio_scsi_push_event() error path

Spotted by Coverity.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 91e7fcca4743cf694eb0c8e7a8d938cf359b5bd8)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/scsi/virtio-scsi.c