diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-05-06 16:25:54 +0200 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2020-05-18 04:51:44 +0200 |
commit | 94182167ec730dadcaea5fbc6bb8f1136966ef66 (patch) | |
tree | 92ff574e922bcfd58c526705fea643c9b75c57d0 /drivers | |
parent | exfat: use iter_file_splice_write (diff) | |
download | linux-94182167ec730dadcaea5fbc6bb8f1136966ef66.tar.xz linux-94182167ec730dadcaea5fbc6bb8f1136966ef66.zip |
exfat: fix possible memory leak in exfat_find()
'es' is malloced from exfat_get_dentry_set() in exfat_find() and should
be freed before leaving from the error handling cases, otherwise it will
cause memory leak.
Fixes: 5f2aa075070c ("exfat: add inode operations")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions