fs_enet: Fix a memory leak in fs_enet_mdio_probe
authorScott Wood <scottwood@freescale.com>
Fri, 2 May 2008 18:42:41 +0000 (13:42 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 6 May 2008 16:22:37 +0000 (12:22 -0400)
commita86e2cbe263c193a70b2e5c5a0c7e53ed39fc0ad
treedfebd56cca8ef6bcea025c6018a3f37bff969e18
parent46fa06170d59b6b9951d09354829d85090f0d911
fs_enet: Fix a memory leak in fs_enet_mdio_probe

There are more memory leaks in the !PPC_CPM_NEW_BINDING case, but that code
will disappear soon along with arch/ppc.

Reported by Daniel Marjamki <danielm77@spray.se> at
http://bugzilla.kernel.org/show_bug.cgi?id=10591

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/fs_enet/mii-fec.c