diff options
author | Ye Bin <yebin10@huawei.com> | 2024-04-15 04:50:29 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2024-04-23 01:52:08 +0300 |
commit | 82b951e6fbd31d85ae7f4feb5f00ddd4c5d256e2 (patch) | |
tree | 2314cc8cbca4ef7035fcb05f8cfb92fdf5ef9c73 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d530531936482f97b7b3784793d3514185b820d4 (diff) | |
download | linux-82b951e6fbd31d85ae7f4feb5f00ddd4c5d256e2.tar.xz |
vfio/pci: fix potential memory leak in vfio_intx_enable()
If vfio_irq_ctx_alloc() failed will lead to 'name' memory leak.
Fixes: 18c198c96a81 ("vfio/pci: Create persistent INTx handler")
Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://lore.kernel.org/r/20240415015029.3699844-1-yebin10@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions