Re: [PATCH] jffs2: memory leak in jffs2_scan_medium()

From: David Woodhouse
Date: Mon May 15 2006 - 18:42:47 EST


On Mon, 2006-05-15 at 11:54 -0400, Florin Malita wrote:
> If jffs2_scan_eraseblock() fails and the exit path is taken, 's' is
> not
> being deallocated.
>
> Reported by Coverity, CID: 1258.
>
> Signed-off-by: Florin Malita <fmalita@xxxxxxxxx>

Applied with minor modifications and no trailing whitespace; thanks.

--
dwmw2

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