mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-16 03:11:29 +02:00
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>