diff options
author | Sreenivasa Honnur <Sreenivasa.Honnur@neterion.com> | 2009-07-01 17:13:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-05 22:16:26 -0400 |
commit | 914d0d714fa472d7f99ef899a8180628ecdcd23c (patch) | |
tree | 8f493262cfda735d53375f84f21d23ef563f3e5a | |
parent | 7975d1eed732c9d50b41f5847453e324f544bd30 (diff) |
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>
-rw-r--r-- | drivers/net/vxge/vxge-main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/vxge/vxge-main.c b/drivers/net/vxge/vxge-main.c index 8a3c7b327cf6..fa4dbc89e270 100644 --- a/drivers/net/vxge/vxge-main.c +++ b/drivers/net/vxge/vxge-main.c | |||
@@ -4348,6 +4348,7 @@ vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre) | |||
4348 | vdev->vpaths[i].mac_addr_cnt = 1; | 4348 | vdev->vpaths[i].mac_addr_cnt = 1; |
4349 | } | 4349 | } |
4350 | 4350 | ||
4351 | kfree(device_config); | ||
4351 | vxge_debug_entryexit(VXGE_TRACE, "%s: %s:%d Exiting...", | 4352 | vxge_debug_entryexit(VXGE_TRACE, "%s: %s:%d Exiting...", |
4352 | vdev->ndev->name, __func__, __LINE__); | 4353 | vdev->ndev->name, __func__, __LINE__); |
4353 | 4354 | ||