commit | 02772fbfcba8597eef9d5c5f7f94087132d0c1d4 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon Jul 20 16:52:50 2020 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Jul 20 15:47:38 2020 -0700 |
tree | 50789c24bb6bf0ec39bc6e8af02023b8b6aaab0e | |
parent | 3357af8f1a09731b75628f72de76ea8e3c9cbd7e [diff] |
f2fs: compress: fix to avoid memory leak on cc->cpages Memory allocated for storing compressed pages' poitner should be released after f2fs_write_compressed_pages(), otherwise it will cause memory leak issue. Signed-off-by: Chao Yu <yuchao0@huawei.com> Fixes: 4c8ff7095bef ("f2fs: support data compression") Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>