commit | 0528150c362deb16f01e198d9710af627be036a5 | [log] [tgz] |
---|---|---|
author | Mikhail Ilin <ilin.mikhail.ol@gmail.com> | Tue Nov 22 11:00:55 2022 +0300 |
committer | Tom Rini <trini@konsulko.com> | Thu Dec 08 09:28:31 2022 -0500 |
tree | 99cd69b9375cfe7bc35a06ed23c83102b8ff603d | |
parent | fd1f4e19fca0fa3664a0b2fa403875097c0cd5f5 [diff] |
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: 934b14f2bb30 ("ext4: free allocations by parse_path()") Signed-off-by: Mikhail Ilin <ilin.mikhail.ol@gmail.com>