diff options
author | liuye <liuye@kylinos.cn> | 2025-01-14 05:38:38 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-26 07:22:45 +0300 |
commit | 7882d8fc8fe0c2b2a01f09e56edf82df6b3013fd (patch) | |
tree | 321c250c9156835a7e4aa495c7821f2dc0d6e8bf /tools/perf/scripts/python/task-analyzer.py | |
parent | 92da98845a93dc408eaf999885f62f276c91754a (diff) | |
download | linux-7882d8fc8fe0c2b2a01f09e56edf82df6b3013fd.tar.xz |
selftests/mm/mkdirty: fix memory leak in test_uffdio_copy()
Release memory before exception branch returns to prevent memory leaks
Checking tools/testing/selftests/mm/mkdirty.c ...
tools/testing/selftests/mm/mkdirty.c:283:3: error: Memory leak: src [memleak]
return;
^
Link: https://lkml.kernel.org/r/20250114023838.48589-1-liuye@kylinos.cn
Signed-off-by: liuye <liuye@kylinos.cn>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions