Skip to content

tests: plug leak of results in compute_expected_damage()#2180

Open
metux wants to merge 1 commit intorelease/25.0from
pr/25.0/tests-plug-leak-of-results-in-compute-expected-damage-_2026-04-13_12-24-28
Open

tests: plug leak of results in compute_expected_damage()#2180
metux wants to merge 1 commit intorelease/25.0from
pr/25.0/tests-plug-leak-of-results-in-compute-expected-damage-_2026-04-13_12-24-28

Conversation

@metux
Copy link
Copy Markdown
Contributor

@metux metux commented Apr 13, 2026

Reported in #1817:
xwayland-24.1.6/redhat-linux-build/../test/damage/primitives.c:68:43:
warning[-Wanalyzer-malloc-leak]: leak of ‘get_image(setup, *setup.d)’

Fixes: 89901e1 ("test: Add the start of a testsuite for damage.")
Signed-off-by: Alan Coopersmith alan.coopersmith@oracle.com
Part-of: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2167

@metux metux added this to the 25.0.x bugfix milestone Apr 13, 2026
@metux metux self-assigned this Apr 13, 2026
@metux metux requested a review from a team April 13, 2026 10:24
Reported in #1817:
xwayland-24.1.6/redhat-linux-build/../test/damage/primitives.c:68:43:
 warning[-Wanalyzer-malloc-leak]: leak of ‘get_image(setup, *setup.d)’

Fixes: 89901e1 ("test: Add the start of a testsuite for damage.")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2167>
@metux metux force-pushed the pr/25.0/tests-plug-leak-of-results-in-compute-expected-damage-_2026-04-13_12-24-28 branch from 8ec79ae to 3708ec0 Compare April 17, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants