u-boot/fs/ext4
Mikhail Ilin 04e6332ec0 fs: ext4: Fix free(NULL)
The 'depth_dirname', 'ptr', 'parent_inode' and 'first_inode' pointers
may be null. Thus, it is necessary to check them before using free() to
avoid free(NULL) cases.

Fixes: 934b14f2bb ("ext4: free allocations by parse_path()")
Signed-off-by: Mikhail Ilin <ilin.mikhail.ol@gmail.com>
2022-12-08 09:28:31 -05:00
..
dev.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ext4_common.c fs: ext4: Fix free(NULL) 2022-12-08 09:28:31 -05:00
ext4_common.h fs: ext4: Use CRC-16 implementation from linux/crc16.h 2022-04-21 14:32:40 -04:00
ext4_journal.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ext4_journal.h ext4: add support for filesystems without JOURNAL 2019-07-18 11:31:24 -04:00
ext4_write.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ext4fs.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
Kconfig fs: Migrate ext4 to Kconfig 2018-01-22 16:43:30 -05:00
Makefile fs: ext4: Use CRC-16 implementation from linux/crc16.h 2022-04-21 14:32:40 -04:00