diff options
author | Chung-Chiang Cheng <shepjeng@gmail.com> | 2021-06-18 10:59:25 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-06-22 10:46:26 +0300 |
commit | 3c252b087de08d3cb32468b54a158bd7ad0ae2f7 (patch) | |
tree | 45ea8e8e0526ebd96ce5028ab1aafe74c00b658b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7fe1e79b59ba02fb6bdc45d324f88f1ba97d3ab4 (diff) | |
download | linux-3c252b087de08d3cb32468b54a158bd7ad0ae2f7.tar.xz |
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: 03607ace807b4 ("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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions