aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorRiccardo Mancini <[email protected]>2021-08-20 11:31:29 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-08-20 14:16:27 +0000
commit6ca822e57638783e0fff4273153b97d72f485760 (patch)
treea6a787b92a73cc3eee58f69a7b9eb286c41d5feb /tools/perf/util/annotate.c
parenttools: Add sparse context/locking annotations in compiler-types.h (diff)
downloadkernel-6ca822e57638783e0fff4273153b97d72f485760.tar.gz
kernel-6ca822e57638783e0fff4273153b97d72f485760.zip
perf tests dlfilter: Free desc and long_desc in check_filter_desc
In dlfilter-test.c, check_filter_desc() calls get_filter_desc() which allocates 'desc' and 'long_desc'. However, these variables are never deallocated. This patch adds the missing free() calls. Fixes: 9f9c9a8de2d5e96c ("perf tests: Add dlfilter test") Signed-off-by: Riccardo Mancini <[email protected]> Acked-by: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[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 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions