From: Jesper Juhl Date: Sun, 6 Nov 2011 21:58:31 +0000 (+0100) Subject: net, wireless, mwifiex: Fix mem leak in mwifiex_update_curr_bss_params() X-Git-Tag: v3.2-rc3~25^2~49^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db652e4b36e5f1e5f49a4a49caf3aa365fe851c4;p=pandora-kernel.git 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 Reviewed-by: Srivatsa S. Bhat Signed-off-by: John W. Linville --- Reading git-diff-tree failed