summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>2009-07-01 21:13:12 +0000
committerDavid S. Miller <davem@davemloft.net>2009-07-05 19:16:26 -0700
commit914d0d714fa472d7f99ef899a8180628ecdcd23c (patch)
tree8f493262cfda735d53375f84f21d23ef563f3e5a
parent7975d1eed732c9d50b41f5847453e324f544bd30 (diff)
downloadlinux-3.10-914d0d714fa472d7f99ef899a8180628ecdcd23c.tar.gz
linux-3.10-914d0d714fa472d7f99ef899a8180628ecdcd23c.tar.bz2
linux-3.10-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>
-rw-r--r--drivers/net/vxge/vxge-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/vxge/vxge-main.c b/drivers/net/vxge/vxge-main.c
index 8a3c7b327cf..fa4dbc89e27 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__);