VT-d: plug memory leaks in iommu_alloc()
authorJan Beulich <jbeulich@suse.com>
Wed, 20 Apr 2022 08:53:57 +0000 (10:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 20 Apr 2022 08:53:57 +0000 (10:53 +0200)
commit376f0c1b69a626b45bb9d418517d0e17f9df474b
treee0ff20f80435b938ca5e466c28d52539d0ec030b
parentd94a9973794c2fb8c754be0cdd9ffe0edf1b0a8b
VT-d: plug memory leaks in iommu_alloc()

While 97af062b89d5 ("IOMMU/x86: maintain a per-device pseudo domain ID")
took care of not making things worse, plugging pre-existing leaks wasn't
the purpose of that change; they're not security relevant after all.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/iommu.c