mwifiex: fix leak of gen_ie storage on exit from mwifiex_del_mgmt_ies
authorJohn Linville <linville@tuxdriver.com>
Fri, 26 Jun 2015 19:29:36 +0000 (15:29 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Jul 2015 13:49:21 +0000 (16:49 +0300)
commitb5c103f20f0fdd736c51c996b07a42594d683b1c
treed4cadc5bb06de209d097bcb54053dbd352a8ac92
parent550795fc68a4bfa699480b362648fef3d6c74c23
mwifiex: fix leak of gen_ie storage on exit from mwifiex_del_mgmt_ies

Storage pointed to by gen_ie is allocated with kmalloc, but was
never freed.

Coverity CID #1271251

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/ie.c