sh_eth: Fix memleak in sh_mdio_release
authorDenis Kirjanov <dkirjanov@hera.kernel.org>
Thu, 20 May 2010 04:00:59 +0000 (04:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 May 2010 06:13:45 +0000 (23:13 -0700)
commit0f0b405cd16f7aaff84a935984cae421897d725d
treee1c32200241b181edf4ded6600767f8bc04e8095
parent41499bd6766314079417d1467c466d31b8612fec
sh_eth: Fix memleak in sh_mdio_release

Allocated memory for IRQs should be freed when releasing the mii_bus

Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sh_eth.c