UBI: fix kmem_cache_free on error patch
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 8 Jun 2009 16:28:18 +0000 (19:28 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 10 Jun 2009 16:31:42 +0000 (19:31 +0300)
'kmem_cache_free()' oopeses if NULL is passed, and there is
one error-path place where UBI may call it with NULL object.
This problem was pointed to by Adrian Hunter.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

No differences found