pcmcia: avoid static analysis complaint about use-after-free
authorJesper Juhl <jj@chaosbits.net>
Sun, 20 Jan 2013 22:14:43 +0000 (23:14 +0100)
committerJiri Kosina <jkosina@suse.cz>
Sun, 20 Jan 2013 23:07:15 +0000 (00:07 +0100)
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 <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found