diff options
author | Alexander Gordeev <agordeev@redhat.com> | 2014-02-21 19:49:29 +0400 |
---|---|---|
committer | Jon Mason <jon.mason@intel.com> | 2014-04-07 21:58:14 +0400 |
commit | 717e8e8bfe5fdb87e849cd46b03d7877b9d77729 (patch) | |
tree | b8986aa65077da8c8e32857dfd9e2a501b4b8dc8 /drivers | |
parent | c8eee3795d68d4b7448ce9e6752de379d9fe2c23 (diff) | |
download | linux-717e8e8bfe5fdb87e849cd46b03d7877b9d77729.tar.xz |
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')
-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); |