]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
wireless/libertas/if_cs.c: fix memory leaks
authorAdrian Bunk <bunk@kernel.org>
Wed, 27 Aug 2008 22:05:08 +0000 (01:05 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 2 Sep 2008 21:39:50 +0000 (17:39 -0400)
commit9a52028e534b0567913a4144060e774891c00a37
tree1f212db593d5269dfa89fbbc4536e4353f7d8a46
parent667d41008eb8a0e1d495d6c0a6143b43fe587c98
wireless/libertas/if_cs.c: fix memory leaks

The leak in if_cs_prog_helper() is obvious.

It looks a bit as if not freeing "fw" in if_cs_prog_real() was done
intentionally, but I'm not seeing why it shouldn't be freed.

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_cs.c