aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-12-29 13:09:00 +0400
committerArnaldo Carvalho de Melo <[email protected]>2023-01-02 11:45:43 -0300
commit0a6564ebd953c4590663c9a3c99a3ea9920ade6f (patch)
tree65b93c47c9f493a55cb86de8ab45ffe93388f403 /drivers/usb/cdns3/cdns3-debug.h
parent88603b6dc419445847923fcb7fe5080067a30f98 (diff)
perf tools: Fix resources leak in perf_data__open_dir()
In perf_data__open_dir(), opendir() opens the directory stream. Add missing closedir() to release it after use. Fixes: eb6176709b235b96 ("perf data: Add perf_data__open_dir_data function") Reviewed-by: Adrian Hunter <[email protected]> Signed-off-by: Miaoqian Lin <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Alexey Bayduraev <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions