diff options
author | Ian Rogers <[email protected]> | 2023-10-09 11:39:06 -0700 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2023-10-12 10:01:55 -0700 |
commit | da0c884b0756fc97a1c15f4cdb81e0a8490a6d7e (patch) | |
tree | abea99d02dc1db1279da8bfce1a011bebee8df84 /scripts/clang-tools/gen_compile_commands.py | |
parent | b24520ffa9695c7249bdd181cf10bc0a3e365019 (diff) |
perf bench uprobe: Fix potential use of memory after free
Found by clang-tidy:
```
bench/uprobe.c:98:3: warning: Use of memory after it is freed [clang-analyzer-unix.Malloc]
bench_uprobe_bpf__destroy(skel);
```
Signed-off-by: Ian Rogers <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Yang Jihong <[email protected]>
Cc: Huacai Chen <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: [email protected]
Cc: Ming Wang <[email protected]>
Cc: Tom Rix <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions