Commit 3c252b08 authored by Chung-Chiang Cheng's avatar Chung-Chiang Cheng Committed by Christoph Hellwig
Browse files

configfs: fix memleak in configfs_release_bin_file

When reading binary attributes in progress, buffer->bin_buffer is setup in
configfs_read_bin_file() but never freed.

Fixes: 03607ace

 ("configfs: implement binary attributes")
Signed-off-by: default avatarChung-Chiang Cheng <cccheng@synology.com>
[hch: move the vfree rather than duplicating it]
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 7fe1e79b
Supports Markdown
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