Skip to content
Commit 495c3a1e authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarTom Rini <trini@konsulko.com>
parent 02585eb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment