提交 717e8e8b 编写于 作者: A Alexander Gordeev 提交者: Jon Mason

ntb: Fix leakage of ntb_device::msix_entries[] array

Signed-off-by: NAlexander Gordeev <agordeev@redhat.com>
Signed-off-by: NJon Mason <jon.mason@intel.com>
上级 c8eee379
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册