]> nv-tegra.nvidia Code Review - linux-2.6.git/commit - drivers/mtd/ubi
UBI: fix error path
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 5 Dec 2008 10:42:45 +0000 (12:42 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 5 Dec 2008 11:46:50 +0000 (13:46 +0200)
commit3c98b0a043f25fa44b289c2f35b9d6ad1d859ac9
tree1d30e363da70c1aa051f550d25adf5f12bff9779
parent6a8f483f33a150a0269ad4612621eb6c245eb2cf
UBI: fix error path

Make sure the resources had not already been freed before
freeing them in the error path of the WL worker function.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/wl.c