ubifs: Fix memory leak in RENAME_WHITEOUT error path in do_rename
authorHyunchul Lee <cheol.lee@lge.com>
Tue, 16 May 2017 23:58:02 +0000 (08:58 +0900)
committerRichard Weinberger <richard@nod.at>
Fri, 14 Jul 2017 20:49:05 +0000 (22:49 +0200)
commitbb50c63244687706e11c9b636a5ad3090cd783ac
tree68e8816798e804db7259ac49f95ca6b916529636
parent4d35ca4f774c29ec9ed676fd5112bfc83ef9853e
ubifs: Fix memory leak in RENAME_WHITEOUT error path in do_rename

in RENAME_WHITEOUT error path, fscrypt_name should be freed.

Signed-off-by: Hyunchul Lee <cheol.lee@lge.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/dir.c