]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/squashfs: sqfs_split_path: fix memory leak and dangling pointers
authorRichard Genoud <richard.genoud@posteo.net>
Tue, 3 Nov 2020 11:11:03 +0000 (12:11 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Nov 2020 14:45:49 +0000 (09:45 -0500)
commit5487477802e0ad7bfad046af25f4a04cfd98cb7a
treedb797deecda64868a531c7c28c09105c9736abd2
parent87d11e08e4792b3d188143972ba3a1651a52beee
fs/squashfs: sqfs_split_path: fix memory leak and dangling pointers

*file and *dir were not freed on error

Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com>
Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
fs/squashfs/sqfs.c