RE: [PATCH] vfio/pci: fix potential memory leak in vfio_intx_enable()

From: Tian, Kevin
Date: Wed Apr 17 2024 - 01:03:09 EST


> From: Ye Bin <yebin10@xxxxxxxxxx>
> Sent: Monday, April 15, 2024 9:50 AM
>
> 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@xxxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>