hamradio: Resolve memory leak due to missing firmware release in add_mcs()
authorJesper Juhl <jj@chaosbits.net>
Thu, 6 Jan 2011 10:50:29 +0000 (10:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Jan 2011 23:45:48 +0000 (15:45 -0800)
commit26877c794407855f65c056d7914b2e72ae9b93b8
treecc8e388d3a841fb089ea0fd3209b453e155a3dc2
parentb5680e0b591f2701c5ba7d5fc8f96b55414073c8
hamradio: Resolve memory leak due to missing firmware release in add_mcs()

Failure to release_firmware() in drivers/net/hamradio/yam.c::add_mcs()
causes memory leak.
This patch should fix it.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/yam.c