diff options
author | 2018-02-24 13:42:27 +0800 | |
---|---|---|
committer | 2018-03-15 15:15:22 +0100 | |
commit | bbe4b3af9d9e3172fb9aa1f8dcdfaedcb381fc64 (patch) | |
tree | 64909a7dbabe5a93bc19678017ac27913b9d1652 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | iommu/vt-d: Clean/document fault status flags (diff) | |
download | linux-dev-bbe4b3af9d9e3172fb9aa1f8dcdfaedcb381fc64.tar.xz linux-dev-bbe4b3af9d9e3172fb9aa1f8dcdfaedcb381fc64.zip |
iommu/vt-d: Fix a potential memory leak
A memory block was allocated in intel_svm_bind_mm() but never freed
in a failure path. This patch fixes this by free it to avoid memory
leakage.
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: <stable@vger.kernel.org> # v4.4+
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Fixes: 2f26e0a9c9860 ('iommu/vt-d: Add basic SVM PASID support')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions