Re: [Patch 9/9] fs/exec.c: fix a wrong goto path

From: Al Viro
Date: Sat May 10 2008 - 15:37:49 EST


On Thu, May 08, 2008 at 09:52:34PM +0800, WANG Cong wrote:
> When nameidata_to_filp() fails, I see no reasons to fall into 'out' path
> where doesn't free any resources at all.

How about "nameidata_to_filp() frees on failure"?
--
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/