mwifiex: fix Coverity SCAN CID 709078: Resource leak (RESOURCE_LEAK)
authorBing Zhao <bzhao@marvell.com>
Tue, 3 Jul 2012 22:53:13 +0000 (15:53 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 19:01:01 +0000 (15:01 -0400)
commitb3190466b0b6d336eddd10319c64a3ce3029b3ff
tree459c3ad1667decb7d4aba9c8d9b40cec3865d1e1
parent10a9109f2705fdc3caa94d768b2559587a9a050c
mwifiex: fix Coverity SCAN CID 709078: Resource leak (RESOURCE_LEAK)

> *. CID 709078: Resource leak (RESOURCE_LEAK)
>  - drivers/net/wireless/mwifiex/cfg80211.c, line: 935
> Assigning: "bss_cfg" = storage returned from "kzalloc(132UL, 208U)"
>  - but was not free
> drivers/net/wireless/mwifiex/cfg80211.c:935

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c