summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-11-06 22:58:31 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-11-07 19:19:15 +0100
commitdb652e4b36e5f1e5f49a4a49caf3aa365fe851c4 (patch)
tree9cdbb4976db9d060ed5bccae2fd453e1c1177b4e /net/mac80211
parentcfg80211: fix cmp_ies (diff)
downloadlinux-db652e4b36e5f1e5f49a4a49caf3aa365fe851c4.tar.xz
linux-db652e4b36e5f1e5f49a4a49caf3aa365fe851c4.zip
net, wireless, mwifiex: Fix mem leak in mwifiex_update_curr_bss_params()
If kmemdup() fails we leak the memory allocated to bss_desc. This patch fixes the leak. I also removed the pointless default assignment of 'NULL' to 'bss_desc' while I was there anyway. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions