Commits
Ilya Yanok committed b644006e1a7
jffs2: clean the cache in case of malloc fails in build_lists We should call jffs2_clean_cache() if we return from jffs2_build_lists() with an error to prevent usage of incomplete lists. Also we should free() a local buffer to prevent memory leaks. Signed-off-by: Ilya Yanok <yanok@emcraft.com>