commit | 0caee47ea25a1ccd1d239d130c43f08bb8b7c926 | [log] [tgz] |
---|---|---|
author | Richard Genoud <richard.genoud@posteo.net> | Tue Nov 03 12:11:18 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 19 09:45:49 2020 -0500 |
tree | 808aeaf8cfd0f74154515f0256c8ef0b5ef81681 | |
parent | cf9072ac59873c9866dcdf952d4192d1ea68ccaf [diff] |
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>