summaryrefslogtreecommitdiff
path: root/crypto/aead.c
diff options
context:
space:
mode:
authorRiccardo Mancini <rickyman7@gmail.com>2021-07-09 19:34:53 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-07-09 21:34:41 +0300
commiteb7261f14e1a86f0fd299a2ec408990d349ce3d1 (patch)
tree56ed8a1c6a99b26d271acfacc38ff40eb9060994 /crypto/aead.c
parentafd4ad01ff0441fdb3f2907f9f8c6e019e62270f (diff)
downloadlinux-eb7261f14e1a86f0fd299a2ec408990d349ce3d1.tar.xz
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 <rickyman7@gmail.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Fabian Hemmer <copy@copy.sh> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Remi Bernon <rbernon@codeweavers.com> Link: http://lore.kernel.org/lkml/20210709163454.672082-1-rickyman7@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'crypto/aead.c')
0 files changed, 0 insertions, 0 deletions