]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf symbol-elf: Fix memory leak by freeing sdt_note.args
authorRiccardo Mancini <rickyman7@gmail.com>
Wed, 2 Jun 2021 22:08:33 +0000 (00:08 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Jun 2021 13:06:27 +0000 (10:06 -0300)
commit69c9ffed6cede9c11697861f654946e3ae95a930
treefcf5d88a2a7399c1c7f23799ea3f5d5b2a997339
parent3cc84399e9b60463bc39cf352ffd8bccb92e02bd
perf symbol-elf: Fix memory leak by freeing sdt_note.args

Reported by ASan.

Signed-off-by: Riccardo Mancini <rickyman7@gmail.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Fabian Hemmer <copy@copy.sh>
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: Remi Bernon <rbernon@codeweavers.com>
Cc: Jiri Slaby <jirislaby@kernel.org>
Link: http://lore.kernel.org/lkml/20210602220833.285226-1-rickyman7@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol-elf.c