From: Daniel Drake Date: Wed, 24 Nov 2010 16:00:49 +0000 (+0000) Subject: libertas: fix memory corruption in lbs_remove_card() X-Git-Tag: v2.6.37-rc6~14^2~37^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=517ff43146b17a0d067125f098f675d1e0ac2d82;p=pandora-kernel.git libertas: fix memory corruption in lbs_remove_card() "priv" is stored at the end of the wiphy structure, which is freed during the call to lbs_cfg_free(). It must not be touched afterwards. Remove the unnecessary NULL assignment causing this memory corruption. Signed-off-by: Daniel Drake Signed-off-by: John W. Linville --- Reading git-diff-tree failed