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

If SquashFS magic number is invalid, there's a memory leak.

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