diff options
author | Sreenivasa Honnur <Sreenivasa.Honnur@neterion.com> | 2009-07-01 23:13:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-06 04:16:26 +0200 |
commit | 914d0d714fa472d7f99ef899a8180628ecdcd23c (patch) | |
tree | 8f493262cfda735d53375f84f21d23ef563f3e5a /drivers/net/vxge/vxge-main.c | |
parent | vxge: Removed ioremap of unused bar addresses and their references (diff) | |
download | linux-914d0d714fa472d7f99ef899a8180628ecdcd23c.tar.xz linux-914d0d714fa472d7f99ef899a8180628ecdcd23c.zip |
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>
Diffstat (limited to '')
-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) vdev->vpaths[i].mac_addr_cnt = 1; } + kfree(device_config); vxge_debug_entryexit(VXGE_TRACE, "%s: %s:%d Exiting...", vdev->ndev->name, __func__, __LINE__); |