tehuti: possible leak in bdx_probe
authorFlorin Malita <fmalita@gmail.com>
Sat, 13 Oct 2007 17:03:38 +0000 (13:03 -0400)
committerJeff Garzik <jeff@garzik.org>
Mon, 15 Oct 2007 18:29:48 +0000 (14:29 -0400)
commitbc2618f7528d4b6ea0c2c53539a3b8cff2b33b24
treeaae1d3769d1fa2c9bcbaef50bb08e1291f8b8cae
parent7e7b968a07022d6aa369b38b095570db241c7bea
tehuti: possible leak in bdx_probe

If pci_enable_device fails, bdx_probe returns without freeing the
allocated pci_nic structure.

Coverity CID 1908.

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/tehuti.c