vxge: Fixed memory leak by freeing memory allocated for device_config
- Fixed memory leak by freeing memory allocated for device_config. Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com> Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
7975d1eed7
Коммит
914d0d714f
|
@ -4348,6 +4348,7 @@ vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre)
|
|||
vdev->vpaths[i].mac_addr_cnt = 1;
|
||||
}
|
||||
|
||||
kfree(device_config);
|
||||
vxge_debug_entryexit(VXGE_TRACE, "%s: %s:%d Exiting...",
|
||||
vdev->ndev->name, __func__, __LINE__);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче