diff options
author | Xie Yongji <xieyongji@baidu.com> | 2019-07-17 08:46:06 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-19 19:04:49 +0200 |
commit | 68fa7ca015dc8afb86e3aa51b31362f63048bd5c (patch) | |
tree | f402d2cf5db730a0732edf945aa797726b6fc314 /hw/scsi/vhost-scsi-common.c | |
parent | 934443c37befc9e268f5c661cb9552a2ee572e19 (diff) |
vhost-user-scsi: Call virtio_scsi_common_unrealize() when device realize failed
This avoids memory leak when device hotplug is failed.
Signed-off-by: Xie Yongji <xieyongji@baidu.com>
Message-Id: <20190717004606.12444-2-xieyongji@baidu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/vhost-scsi-common.c')
0 files changed, 0 insertions, 0 deletions