]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iommu/vt-d: Fix memory leak in dmar_insert_one_dev_info()
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 18 Sep 2015 10:57:07 +0000 (16:27 +0530)
committerJoerg Roedel <jroedel@suse.de>
Tue, 29 Sep 2015 13:45:50 +0000 (15:45 +0200)
commit499f3aa4323775d5320bdf7ccc26576c54a54169
treed44adb6a79189602090023b95c6d2707bb356d85
parent9ffecb10283508260936b96022d4ee43a7798b4c
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: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c