diff options
author | Ian Rogers <irogers@google.com> | 2023-10-09 11:39:14 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2023-10-12 10:01:56 -0700 |
commit | 63d471979e49148e59eae0b33a57c12d535e20c6 (patch) | |
tree | 72aaee5f7698ac004f2fca03bcdde4ed316b5802 /tools/perf/builtin-lock.c | |
parent | ef1aec6000a7364a6c1ef0a6f9cbf8b98b685255 (diff) |
perf svghelper: Avoid memory leak
On success path the sib_core and sib_thr values weren't being
freed. Detected by clang-tidy.
Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Yang Jihong <yangjihong1@huawei.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: llvm@lists.linux.dev
Cc: Ming Wang <wangming01@loongson.cn>
Cc: Tom Rix <trix@redhat.com>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20231009183920.200859-14-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/builtin-lock.c')
0 files changed, 0 insertions, 0 deletions