Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] kms_debugfs: Add missing free()
@ 2025-07-23 10:15 Peter Senna Tschudin
  2025-07-23 13:18 ` ✓ i915.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Peter Senna Tschudin @ 2025-07-23 10:15 UTC (permalink / raw)
  To: igt-dev; +Cc: Peter Senna Tschudin, Karthik B S, Kamil Konieczny

Commit ebe65a923a2b ("tests: Add kms_debugfs") introduced a new test.
Unfortunately that commit missed a call to free(display) during the
cleanup.

Fixes: ebe65a923a2b ("tests: Add kms_debugfs")
Cc: Karthik B S <karthik.b.s@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Signed-off-by: Peter Senna Tschudin <peter.senna@linux.intel.com>
---
 tests/kms_debugfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_debugfs.c b/tests/kms_debugfs.c
index 75ef15353..25134e941 100644
--- a/tests/kms_debugfs.c
+++ b/tests/kms_debugfs.c
@@ -129,6 +129,7 @@ igt_main
 
 	igt_fixture {
 		igt_display_fini(display);
+		free(display);
 		close(debugfs);
 		drm_close_driver(fd);
 	}
-- 
2.43.0


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

end of thread, other threads:[~2025-07-23 18:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-23 10:15 [PATCH i-g-t] kms_debugfs: Add missing free() Peter Senna Tschudin
2025-07-23 13:18 ` ✓ i915.CI.BAT: success for " Patchwork
2025-07-23 13:29 ` ✓ Xe.CI.BAT: " Patchwork
2025-07-23 16:32 ` ✗ Xe.CI.Full: failure " Patchwork
2025-07-23 16:51 ` [PATCH i-g-t] " Kamil Konieczny
2025-07-23 18:15 ` ✗ i915.CI.Full: failure for " Patchwork

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