aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorRiccardo Mancini <[email protected]>2021-07-09 16:34:53 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-07-09 18:34:41 +0000
commiteb7261f14e1a86f0fd299a2ec408990d349ce3d1 (patch)
tree56ed8a1c6a99b26d271acfacc38ff40eb9060994 /drivers/usb/cdns3/cdns3-ti.c
parentlibperf: Add tests for perf_evlist__set_leader() (diff)
downloadkernel-eb7261f14e1a86f0fd299a2ec408990d349ce3d1.tar.gz
kernel-eb7261f14e1a86f0fd299a2ec408990d349ce3d1.zip
perf test: Add free() calls for scandir() returned dirent entries
ASan reported a memory leak for items of the entlist returned from scandir(). In fact, scandir() returns a malloc'd array of malloc'd dirents. This patch adds the missing (z)frees. Fixes: da963834fe6975a1 ("perf test: Iterate over shell tests in alphabetical order") Signed-off-by: Riccardo Mancini <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Fabian Hemmer <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Remi Bernon <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions