From: Johannes Berg Date: Wed, 16 May 2012 20:49:49 +0000 (+0200) Subject: iwlwifi: fix memory leak if opmode fails to init X-Git-Tag: v3.5-rc1~35^2~3^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75813bde1f671aaab3185a9438da7730d356cea6;p=pandora-kernel.git iwlwifi: fix memory leak if opmode fails to init If drv->op_mode is NULL after trying to init the opmode, we go to the wrong label. Fix this, and clean up the code a bit. Reviewed-by: Gregory Greenman Reviewed-by: Guy Cohen Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed