diff options
author | Tom Rini <trini@konsulko.com> | 2015-12-10 16:42:21 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-13 21:05:20 -0500 |
commit | 495c3a1e2242b2c52c8088c52768db5b53592e85 (patch) | |
tree | 50d21640eb68471b4d717605f33662e21175872a /include | |
parent | 02585eb3b5cba572d69bda1ae0864bdc770a0303 (diff) | |
download | u-boot-495c3a1e2242b2c52c8088c52768db5b53592e85.tar.gz u-boot-495c3a1e2242b2c52c8088c52768db5b53592e85.tar.bz2 u-boot-495c3a1e2242b2c52c8088c52768db5b53592e85.zip |
ext4_common.c: Clean up failure cases in alloc_triple_indirect_block
As noted by Coverity, when we have an error in
alloc_triple_indirect_block we will leak ti_pbuff_start_addr as it's not
being freed. Further inspection here shows that we could also leak
ti_cbuff_start_addr in one corner case so free that as well.
Reported-by: Coverity (CID 131205, 131206)
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions