diff options
| author | Pan Nengyuan | 2020-03-28 01:57:05 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2020-03-29 15:52:13 +0200 |
| commit | de38ed300764cdee43747a2a4a9a9795696c203d (patch) | |
| tree | d92a9d5267abbc1dd2c4d526bed5343466abc592 /scripts/render_block_graph.py | |
| parent | virtio-blk: delete vqs on the error path in realize() (diff) | |
| download | qemu-de38ed300764cdee43747a2a4a9a9795696c203d.tar.gz qemu-de38ed300764cdee43747a2a4a9a9795696c203d.tar.xz qemu-de38ed300764cdee43747a2a4a9a9795696c203d.zip | |
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>
Diffstat (limited to 'scripts/render_block_graph.py')
0 files changed, 0 insertions, 0 deletions
