diff options
| author | Shang XiaoJing <[email protected]> | 2022-09-06 11:29:06 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-09-06 09:45:23 -0300 |
| commit | 4efa8e314351cb3e7f229ddd3571069edf38f99a (patch) | |
| tree | 78708aa6801013c0febd5ee2e3786252ee7610a4 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 6ea9da51a5c00c9d9309c4c9aa21cbe63c799c56 (diff) | |
perf c2c: Prevent potential memory leak in c2c_he_zalloc()
Free allocated resources when zalloc() fails for members in c2c_he, to
prevent potential memory leak in c2c_he_zalloc().
Signed-off-by: Shang XiaoJing <[email protected]>
Reviewed-by: Leo Yan <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions