diff options
author | Alexander Gordeev <agordeev@redhat.com> | 2014-02-21 16:49:29 +0100 |
---|---|---|
committer | Jon Mason <jon.mason@intel.com> | 2014-04-07 19:58:14 +0200 |
commit | 717e8e8bfe5fdb87e849cd46b03d7877b9d77729 (patch) | |
tree | b8986aa65077da8c8e32857dfd9e2a501b4b8dc8 /drivers/ntb | |
parent | NTB: Fix typo in setting one translation register (diff) | |
download | linux-717e8e8bfe5fdb87e849cd46b03d7877b9d77729.tar.xz linux-717e8e8bfe5fdb87e849cd46b03d7877b9d77729.zip |
ntb: Fix leakage of ntb_device::msix_entries[] array
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Jon Mason <jon.mason@intel.com>
Diffstat (limited to 'drivers/ntb')
-rw-r--r-- | drivers/ntb/ntb_hw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c index 2774d356b689..0e8ae70fd918 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); |