summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2025-04-08 10:34:13 +0300
committerMaxime Ripard <mripard@kernel.org>2025-04-08 18:28:25 +0300
commit8b6f2e28431b2f9f84073bff50353aeaf25559d0 (patch)
tree75952f77b0d1d18d64764741c81b5097947d0c2e /tools/perf/scripts/python/flamegraph.py
parentf02d3bfcd34645c3245216cf762f09b72ce582fa (diff)
downloadlinux-8b6f2e28431b2f9f84073bff50353aeaf25559d0.tar.xz
drm/tests: probe-helper: 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_connector_helper_tv_get_modes_check() 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: 1e4a91db109f ("drm/probe-helper: Provide a TV get_modes helper") Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://lore.kernel.org/r/20250408-drm-kunit-drm-display-mode-memleak-v1-7-996305a2e75a@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions