vhost: fix memory leak in vhost_user_scsi_realize
commit386cff49ebd1748b0319c88e5282236f9e56b81b
authorJie Wang <wangjie88@huawei.com>
Tue, 30 Apr 2019 07:15:00 +0000 (30 15:15 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 29 May 2019 22:00:57 +0000 (29 18:00 -0400)
tree94fcd20379af3bf35b9bad3ec354bccc3fe343e7
parent31618958cc48d8c51e7e256285b467c1c56af3b9
vhost: fix memory leak in vhost_user_scsi_realize

fix memory leak in vhost_user_scsi_realize

Signed-off-by: Jie Wang <wangjie88@huawei.com>
Message-Id: <1556608500-12183-1-git-send-email-wangjie88@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/scsi/vhost-user-scsi.c