ubifs: Fix memory leak in error path in ubifs_mknod
authorRichard Weinberger <richard@nod.at>
Fri, 10 Feb 2017 16:46:01 +0000 (17:46 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 30 Mar 2017 07:27:27 +0000 (09:27 +0200)
commit63ed657362509b54635fe17af980fba722a008d8
treec6615e75adc6c4380270bae40ad1d0a886bd55d5
parent9cd9a21ce070be8a918ffd3381468315a7a76ba6
ubifs: Fix memory leak in error path in ubifs_mknod

When fscrypt_setup_filename() fails we have to free dev.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/dir.c