diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c index 2774d356b689ad1a42ba8b432834cb09890e62b4..0e8ae70fd918e4799f3c7fd6014ab2f805e223fe 100644 --- a/drivers/ntb/ntb_hw.c +++ b/drivers/ntb/ntb_hw.c @@ -1281,6 +1281,7 @@ static void ntb_free_interrupts(struct ntb_device *ndev) free_irq(msix->vector, &ndev->db_cb[i]); } pci_disable_msix(pdev); + kfree(ndev->msix_entries); } else { free_irq(pdev->irq, ndev);