diff options
author | Like Xu <[email protected]> | 2021-09-28 18:29:38 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-10-05 14:48:10 -0300 |
commit | b94729919db2c6737501c36ea6526a36d5d63fa2 (patch) | |
tree | 8660ba1ef06c6eb9911d0c7976f3a9d6e3986b69 /net/lapb | |
parent | f6274b06e326d8471cdfb52595f989a90f5e888f (diff) |
perf jevents: Free the sys_event_tables list after processing entries
The compiler reports that free_sys_event_tables() is dead code.
But according to the semantics, the "LIST_HEAD(sys_event_tables)" should
also be released, just like we do with 'arch_std_events' in main().
Fixes: e9d32c1bf0cd7a98 ("perf vendor events: Add support for arch standard events")
Signed-off-by: Like Xu <[email protected]>
Reviewed-by: John Garry <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[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 'net/lapb')
0 files changed, 0 insertions, 0 deletions