UBI: fix dereference after kfree
authorFlorin Malita <fmalita@gmail.com>
Thu, 3 May 2007 15:49:57 +0000 (11:49 -0400)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 13:52:22 +0000 (16:52 +0300)
commitc4e90ec0134d7bedebbe3fe58ed5d431293886d4
treebce3d8a6243de9400465f9eba029295522853de9
parent341e1a0cf2d8965c8b2f7941a6b2f2c2170df469
UBI: fix dereference after kfree

Coverity (CID 1614) spotted new_seb being dereferenced after kfree() in
create_vtbl's write_error path.

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/vtbl.c