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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| crc16.c | ||
| crc16.h | ||
| dev.c | ||
| ext4_common.c | ||
| ext4_common.h | ||
| ext4_journal.c | ||
| ext4_journal.h | ||
| ext4_write.c | ||
| ext4fs.c | ||