Skip to content
Commit 499f3aa4 authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Joerg Roedel
Browse files

iommu/vt-d: Fix memory leak in dmar_insert_one_dev_info()



We are returning NULL if we are not able to attach the iommu
to the domain but while returning we missed freeing info.

Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 9ffecb10
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment