]> err.no Git - linux-2.6/commit
JFFS2: memory leak in jffs2_do_mount_fs()
authorDmitry Adamushko <dmitry.adamushko@gmail.com>
Fri, 19 Jan 2007 00:20:30 +0000 (01:20 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 9 Feb 2007 15:00:21 +0000 (15:00 +0000)
commitcfa72397cf3a15f2841447440fd53980b3ecd624
treed6e3dd264f523845e0c0fb05da377485c3bc40e6
parent0d36da3b409536a24266c5f0972f2e1cfae1afd4
JFFS2: memory leak in jffs2_do_mount_fs()

If  jffs2_sum_init()  fails,  c->blocks is not freed neither in
jffs2_do_mount_fs() nor in jffs2_do_fill_super().

Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/build.c