Re: [PATCH][trivial] pcmcia: avoid static analysis complaint aboutuse-after-free

From: Jiri Kosina
Date: Sun Jan 20 2013 - 18:07:39 EST


On Sun, 20 Jan 2013, Jesper Juhl wrote:

> 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.

Makes sense. I am taking this one.

Thanks,

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/