Home
last modified time | relevance | path

Searched hist:b644006e1a7baa227aedc606ecdf0bb5eeb24cab (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/fs/jffs2/
H A Djffs2_1pass.cb644006e1a7baa227aedc606ecdf0bb5eeb24cab Wed Aug 12 12:42:48 UTC 2009 Ilya Yanok <yanok@emcraft.com> 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>