diff options
author | Jesper Juhl <jj@chaosbits.net> | 2013-01-20 23:14:43 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-01-21 00:07:15 +0100 |
commit | bec0b2ce8304bedf56935c44912716882a365adb (patch) | |
tree | aa943fc1155ef59d2ff4fcf9b8b4819fe2107cf3 /drivers/pcmcia/sa1111_generic.c | |
parent | fs/jfs: Fix typo in comment : 'how may' -> 'how many' (diff) | |
download | linux-bec0b2ce8304bedf56935c44912716882a365adb.tar.xz linux-bec0b2ce8304bedf56935c44912716882a365adb.zip |
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 <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/pcmcia/sa1111_generic.c')
0 files changed, 0 insertions, 0 deletions