summaryrefslogtreecommitdiffstats
path: root/tools/objtool
diff options
context:
space:
mode:
authorRiccardo Mancini <rickyman7@gmail.com>2021-07-15 18:07:24 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-07-16 13:50:30 -0300
commit937654ce497fb6e977a8c52baee5f7d9616302d9 (patch)
tree2df540a56fe832aff282b3407dae4cc0cc82e062 /tools/objtool
parent659ede7d13f1cc37882088deecbc085da285b8f8 (diff)
downloadlinux-stable-937654ce497fb6e977a8c52baee5f7d9616302d9.tar.gz
linux-stable-937654ce497fb6e977a8c52baee5f7d9616302d9.tar.bz2
linux-stable-937654ce497fb6e977a8c52baee5f7d9616302d9.zip
perf test bpf: Free obj_buf
ASan reports some memory leaks when running: # perf test "42: BPF filter" The first of these leaks is caused by obj_buf never being deallocated in __test__bpf. This patch adds the missing free. Signed-off-by: Riccardo Mancini <rickyman7@gmail.com> Fixes: ba1fae431e74bb42 ("perf test: Add 'perf test BPF'") Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lore.kernel.org/lkml/60f3ca935fe6672e7e866276ce6264c9e26e4c87.1626343282.git.rickyman7@gmail.com [ Added missing stdlib.h include ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/objtool')
0 files changed, 0 insertions, 0 deletions