diff options
| author | Namhyung Kim <namhyung@kernel.org> | 2023-04-28 02:05:01 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-05-02 14:36:14 +0300 |
| commit | 7586d11d36fad5e6a28736be7ac8f9495e28289a (patch) | |
| tree | 9b55c0336a6e3589dfd240f59292ba94c542b9c5 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | b9f82b5c63bf5390da19e879275a792a959a8dac (diff) | |
| download | linux-7586d11d36fad5e6a28736be7ac8f9495e28289a.tar.xz | |
perf list: Fix memory leaks in print_tracepoint_events()
It should free entries (not only the array) filled by scandirat()
after use.
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230427230502.1526136-1-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
