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

path, target, res, rem and sym_tokens were not free on error nor success.

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