summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@posteo.net>2020-11-03 12:11:18 +0100
committerTom Rini <trini@konsulko.com>2020-11-19 09:45:49 -0500
commit571b67ee1dcb989dc50575f14e87bfdef6bfd8db (patch)
tree808aeaf8cfd0f74154515f0256c8ef0b5ef81681 /net
parent33686804d29e676177d408f1ce047b8c35185ddb (diff)
downloadu-boot-571b67ee1dcb989dc50575f14e87bfdef6bfd8db.tar.gz
u-boot-571b67ee1dcb989dc50575f14e87bfdef6bfd8db.tar.xz
u-boot-571b67ee1dcb989dc50575f14e87bfdef6bfd8db.zip
fs/squashfs: sqfs_read: fix memory leak on finfo.blk_sizes
finfo.blk_sizes may not be freed in case of error in the for loop Setting it to null and freeing it at the end makes prevents that from happening. Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com> Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions