diff options
| author | Ding Xiang <dingxiang@cmss.chinamobile.com> | 2023-08-31 17:31:44 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-04 10:32:19 -0700 |
| commit | b6afcb94ce331b6d94dbeb56def173483993faf3 (patch) | |
| tree | 410443c07b47c79bdcd67f595ec80f97f08f894c /tools/perf/scripts/python/flamegraph.py | |
| parent | e19a3f595ae47bd8c034b98eb0b28a3877413387 (diff) | |
| download | linux-b6afcb94ce331b6d94dbeb56def173483993faf3.tar.gz linux-b6afcb94ce331b6d94dbeb56def173483993faf3.zip | |
selftests/mm: gup_longterm: fix a resource leak
The opened file should be closed in run_with_tmpfile(), otherwise resource
leak will occur
Link: https://lkml.kernel.org/r/20230831093144.7520-1-dingxiang@cmss.chinamobile.com
Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
