commit | de38ed300764cdee43747a2a4a9a9795696c203d | [log] [tgz] |
---|---|---|
author | Pan Nengyuan <pannengyuan@huawei.com> | Sat Mar 28 08:57:05 2020 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Sun Mar 29 09:52:13 2020 -0400 |
tree | d92a9d5267abbc1dd2c4d526bed5343466abc592 | |
parent | cfaf757edd77ccbab1097c9972d1163074c30d6a [diff] |
virtio-iommu: avoid memleak in the unrealize req_vq/event_vq forgot to free in unrealize. Fix that. And also do clean 's->as_by_busptr' hash table in unrealize to fix another leak. Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com> Acked-by: Eric Auger <eric.auger@redhat.com> Message-Id: <20200328005705.29898-3-pannengyuan@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>