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:Chung-Chiang Cheng <cccheng@synology.com> [hch: move the vfree rather than duplicating it] Signed-off-by:
Christoph Hellwig <hch@lst.de>
Loading
Please sign in to comment