diff options
author | Eric Auger <[email protected]> | 2019-06-03 08:53:30 +0200 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2019-06-12 10:32:23 +0200 |
commit | ad0834dedaa15c3a176f783c0373f836e44b4700 (patch) | |
tree | de3880f977eebefdbc0860c61c83ccbb035009c3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2de03c11171544bd23e18539f65b3b561d57ff76 (diff) |
iommu: Fix a leak in iommu_insert_resv_region
In case we expand an existing region, we unlink
this latter and insert the larger one. In
that case we should free the original region after
the insertion. Also we can immediately return.
Fixes: 6c65fb318e8b ("iommu: iommu_get_group_resv_regions")
Signed-off-by: Eric Auger <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions