diff options
author | Richard Weinberger <richard@nod.at> | 2018-06-12 14:49:45 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-08-14 18:06:15 -0400 |
commit | eef19816ada3abd56d9f20c88794cc2fea83ebb2 (patch) | |
tree | 07bc63a188ebd12f52fd0f92103a356acef807f6 /fs/ubifs/commit.c | |
parent | 25677478474a91fa1b46f19a4a591a9848bca6fb (diff) |
ubifs: Fix memory leak in lprobs self-check
Allocate the buffer after we return early.
Otherwise memory is being leaked.
Cc: <stable@vger.kernel.org>
Fixes: 1e51764a3c2a ("UBIFS: add new flash file system")
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions