diff options
author | Joerg Roedel <joro@8bytes.org> | 2013-06-20 20:22:58 +0200 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2013-06-20 23:38:42 +0200 |
commit | 5c34c403b72395e59cad64a75fb0b772b0ab9cd4 (patch) | |
tree | f3459a9eef55dfa8e382f363c55ee3a4c9b2346e /samples | |
parent | 7d132055814ef17a6c7b69f342244c410a5e000f (diff) |
iommu/amd: Fix memory leak in free_pagetable
The IOMMU pagetables can have up to 6 levels, but the code
in free_pagetable() only releases the first 3 levels. Fix
this leak by releasing all levels.
Reported-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions