projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7975d1e
)
vxge: Fixed memory leak by freeing memory allocated for device_config
author
Sreenivasa Honnur
<Sreenivasa.Honnur@neterion.com>
Wed, 1 Jul 2009 21:13:12 +0000
(21:13 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 6 Jul 2009 02:16:26 +0000
(19:16 -0700)
- 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>
drivers/net/vxge/vxge-main.c
patch
|
blob
|
history
diff --git
a/drivers/net/vxge/vxge-main.c
b/drivers/net/vxge/vxge-main.c
index 8a3c7b327cf607dd5c957b5254192db3518b8b85..fa4dbc89e2702388f75faac4cffbda837fd16a4c 100644
(file)
--- 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__);