Skip to content
Commit 94182167 authored by Wei Yongjun's avatar Wei Yongjun Committed by Namjae Jeon
Browse files

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: 5f2aa075 ("exfat: add inode operations")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
parent 03577948
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment