]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/squashfs: sqfs_read_directory_table: fix memory leak
authorRichard Genoud <richard.genoud@posteo.net>
Tue, 3 Nov 2020 11:11:04 +0000 (12:11 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Nov 2020 14:45:49 +0000 (09:45 -0500)
commit7d23b2c5fb093142400467d8b81ba84786ed6f2c
treefdc00861d7eaa9e4f289f44ec41545287ddf759c
parent5487477802e0ad7bfad046af25f4a04cfd98cb7a
fs/squashfs: sqfs_read_directory_table: fix memory leak

pos_list wasn't freed on every error

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