diff options
author | Darren Jenkins <[email protected]> | 2008-11-06 12:53:48 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-11-06 15:41:20 -0800 |
commit | 52e9d9f4b32a3bec91feb76c84e37b7dcffe5040 (patch) | |
tree | 00720ba55750b14ad8e48c3953577b636ec67404 /net/lapb/lapb_in.c | |
parent | 53472bc8f810d2fb507593ea03703670506a668d (diff) |
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.
[[email protected]: fix coding style]
Signed-off-by: Darren Jenkins <[email protected]>
Signed-off-by: OGAWA Hirofumi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions