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: NSudip Mukherjee <sudip@vectorindia.org> Signed-off-by: NJoerg Roedel <jroedel@suse.de>
Showing
想要评论请 注册 或 登录