diff options
author | Ilya Yanok <yanok@emcraft.com> | 2009-08-12 16:42:48 +0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-08-18 21:30:58 +0200 |
commit | b644006e1a7baa227aedc606ecdf0bb5eeb24cab (patch) | |
tree | 05c8d9f1d0a2c1bbe5135d841be32e87a7e8989a /fs/cramfs/Makefile | |
parent | 7ff66bb0be80cadd681be22a72e5eb02ee14c878 (diff) | |
download | blackbird-obmc-uboot-b644006e1a7baa227aedc606ecdf0bb5eeb24cab.tar.gz blackbird-obmc-uboot-b644006e1a7baa227aedc606ecdf0bb5eeb24cab.zip |
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>
Diffstat (limited to 'fs/cramfs/Makefile')
0 files changed, 0 insertions, 0 deletions