virtio-scsi: Plug memory leak on virtio_scsi_push_event() error path
commit91e7fcca4743cf694eb0c8e7a8d938cf359b5bd8
authorMarkus Armbruster <armbru@redhat.com>
Fri, 16 May 2014 15:44:06 +0000 (16 17:44 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 May 2014 15:52:28 +0000 (16 17:52 +0200)
treeb13c323629f79531781a02e3b3e1002b77fddd4c
parentc4ce4c4b1f28095947d72abb0fb7de6c8d8efdb3
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>
hw/scsi/virtio-scsi.c