]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc29b75ddf661a40054a056a1b41ca8e31d6e1ac6
tree3a6ee6ba1a16f6350dbeab0db7dac634e217402a
parentb02c03a12e37e9370f7ef275d5b05ac0774ecb18
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