aha/fs/fat
Darren Jenkins 52e9d9f4b3 fat: cleanup fat_parse_long() error handling
Coverity CID 2332 & 2333 RESOURCE_LEAK

In fat_search_long() if fat_parse_long() returns a -ve value we return
without first freeing unicode.  This patch free's them on this error path.

The above was false positive on current tree, but this change is more
clean, so apply as cleanup.

[hirofumi@mail.parknet.co.jp: fix coding style]
Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-06 15:41:20 -08:00
..
cache.c fat: split include/msdos_fs.h 2008-11-06 15:41:20 -08:00
dir.c fat: cleanup fat_parse_long() error handling 2008-11-06 15:41:20 -08:00
fat.h fat: Fix and cleanup timestamp conversion 2008-11-06 15:41:20 -08:00
fatent.c fat: split include/msdos_fs.h 2008-11-06 15:41:20 -08:00
file.c fat: split include/msdos_fs.h 2008-11-06 15:41:20 -08:00
inode.c fat: Fix and cleanup timestamp conversion 2008-11-06 15:41:20 -08:00
Makefile fat: move fs/vfat/* and fs/msdos/* to fs/fat 2008-11-06 15:41:20 -08:00
misc.c fat: Fix and cleanup timestamp conversion 2008-11-06 15:41:20 -08:00
namei_msdos.c fat: Fix and cleanup timestamp conversion 2008-11-06 15:41:20 -08:00
namei_vfat.c fat: Fix and cleanup timestamp conversion 2008-11-06 15:41:20 -08:00