]> Git Repo - qemu.git/commit
virtio-iommu: avoid memleak in the unrealize
authorPan Nengyuan <[email protected]>
Sat, 28 Mar 2020 00:57:05 +0000 (08:57 +0800)
committerMichael S. Tsirkin <[email protected]>
Sun, 29 Mar 2020 13:52:13 +0000 (09:52 -0400)
commitde38ed300764cdee43747a2a4a9a9795696c203d
treed92a9d5267abbc1dd2c4d526bed5343466abc592
parentcfaf757edd77ccbab1097c9972d1163074c30d6a
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 <[email protected]>
Acked-by: Eric Auger <[email protected]>
Message-Id: <20200328005705[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/virtio/virtio-iommu.c
This page took 0.023804 seconds and 4 git commands to generate.