summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2025-04-08 10:34:12 +0300
committerMaxime Ripard <mripard@kernel.org>2025-04-08 18:28:21 +0300
commitf02d3bfcd34645c3245216cf762f09b72ce582fa (patch)
tree74cdda20e227998d88fd3d61269e9b945054a2af /tools/perf/scripts/python/sched-migration.py
parentd34146340f95cd9bf06d4ce71cca72127dc0b7cd (diff)
downloadlinux-f02d3bfcd34645c3245216cf762f09b72ce582fa.tar.xz
drm/tests: modes: Fix drm_display_mode memory leak
drm_analog_tv_mode() and its variants return a drm_display_mode that needs to be destroyed later one. The drm_test_modes_analog_tv_mono_576i() test never does however, which leads to a memory leak. Let's make sure it's freed. Reported-by: Philipp Stanner <phasta@mailbox.org> Closes: https://lore.kernel.org/dri-devel/a7655158a6367ac46194d57f4b7433ef0772a73e.camel@mailbox.org/ Fixes: e31538489908 ("drm/tests: Add tests for the new Monochrome value of tv_mode") Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://lore.kernel.org/r/20250408-drm-kunit-drm-display-mode-memleak-v1-6-996305a2e75a@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions