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

From: Alex Williamson
Date: Tue Apr 23 2024 - 16:25:22 EST


On Mon, 15 Apr 2024 09:50:29 +0800
Ye Bin <yebin10@xxxxxxxxxx> wrote:

> 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>
> ---
> drivers/vfio/pci/vfio_pci_intrs.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)

Applied to vfio next branch for v6.10. Thanks!

Alex