aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2021-11-17 23:12:47 -0800
committerArnaldo Carvalho de Melo <[email protected]>2021-11-18 10:16:56 -0300
commit0ca1f534a776cc7d42f2c33da4732b74ec2790cd (patch)
tree2291d20395d6f666101dee9a25ceb51d1e8b352b /net/lapb/lapb_timer.c
parent8b8dcc3720d57d88faa74e0da2fb419da953ddd0 (diff)
perf hist: Fix memory leak of a perf_hpp_fmt
perf_hpp__column_unregister() removes an entry from a list but doesn't free the memory causing a memory leak spotted by leak sanitizer. Add the free while at the same time reducing the scope of the function to static. Signed-off-by: Ian Rogers <[email protected]> Reviewed-by: Kajol Jain <[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]> Cc: Stephane Eranian <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions