public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tests/chamelium/audio: Fix resource leaks in audio tests
@ 2026-03-05  9:30 Mohammed Bilal
  2026-03-05  9:30 ` [PATCH v2 1/2] tests/chamelium/audio: Fix ALSA handle leak on skipped audio config Mohammed Bilal
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Mohammed Bilal @ 2026-03-05  9:30 UTC (permalink / raw)
  To: igt-dev; +Cc: jeevan.b, sebastian.brzezinka, Mohammed Bilal

This series fixes resource leaks in Chamelium audio tests.

It resolves a handle leak in the audio test loop when the audio
configuration check fails and the loop continues without cleanup.

It also ensures proper cleanup when assertion failures occur after
resources are acquired by routing error paths through a common
cleanup sequence.

Mohammed Bilal (2):
  tests/chamelium/audio: Fix ALSA handle leak on skipped audio config
  tests/chamelium/audio: Fix resource leaks on assertion failure

 tests/chamelium/kms_chamelium_audio.c | 46 ++++++++++++++++++---------
 1 file changed, 31 insertions(+), 15 deletions(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-03-10  8:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-05  9:30 [PATCH v2 0/2] tests/chamelium/audio: Fix resource leaks in audio tests Mohammed Bilal
2026-03-05  9:30 ` [PATCH v2 1/2] tests/chamelium/audio: Fix ALSA handle leak on skipped audio config Mohammed Bilal
2026-03-09  9:07   ` B, Jeevan
2026-03-05  9:30 ` [PATCH v2 2/2] tests/chamelium/audio: Fix resource leaks on assertion failure Mohammed Bilal
2026-03-09  9:23   ` B, Jeevan
2026-03-09  9:49     ` Bilal, Mohammed
2026-03-10  4:43       ` B, Jeevan
2026-03-10  7:34         ` Bilal, Mohammed
2026-03-10  8:34         ` Bilal, Mohammed
2026-03-05 20:37 ` ✓ Xe.CI.BAT: success for tests/chamelium/audio: Fix resource leaks in audio tests (rev2) Patchwork
2026-03-05 20:52 ` ✓ i915.CI.BAT: " Patchwork
2026-03-06 12:03 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-07  0:14 ` ✗ i915.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox