commit | c3677ae6659cbbecf0fb2589ab5b890013ae43b1 | [log] [tgz] |
---|---|---|
author | Martin Vystrčil <martin.vystrcil@m-linux.cz> | Tue Aug 20 22:18:30 2019 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 26 11:46:21 2019 -0400 |
tree | bc3c91231ca30e27927cc3f2f31278ab9e98fe01 | |
parent | 1d5a1aa903f2cdf6e8fffa53673f001502b89e15 [diff] |
fat: FAT filesystem premature release of info struct. File was found on specified location. Info about file was read, but then immediately destroyed using 'free' call. As a result file size was set to 0, hence fat process didn't read any data. Premature 'free' call removed. Resources are freed right before function return. File is read correctly. Signed-off-by: Martin Vystrcil <martin.vystrcil@m-linux.cz>