mwifiex: fix a possible double free issue
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 26 May 2015 13:34:28 +0000 (06:34 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 2 Jun 2015 20:15:56 +0000 (23:15 +0300)
commit0769b27739ee420a391ee66a431c1474370aec6b
tree3a6ee6ba1a16f6350dbeab0db7dac634e217402a
parente065ddb891755c74f73c60989f96784f3aa65f81
mwifiex: fix a possible double free issue

As drv_info_dump pointer doesn't get reset, we may end up
freeing the allocated memory twice.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/init.c
drivers/net/wireless/mwifiex/main.c