From: Jesper Juhl Date: Sun, 20 Jan 2013 22:14:43 +0000 (+0100) Subject: pcmcia: avoid static analysis complaint about use-after-free X-Git-Tag: v3.9-rc1~113^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bec0b2ce8304bedf56935c44912716882a365adb;p=pandora-kernel.git pcmcia: avoid static analysis complaint about use-after-free Coverity complains about a use after free for 'res1' and 'res2' since we use the value of the pointers in a 'dev_dbg()' after they have been freed. That's not really a problem, but it still seems cleaner to defer freeing until we are completely done with the pointers. Signed-off-by: Jesper Juhl Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed