From: Peter Senna Tschudin <peter.senna@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Peter Senna Tschudin <peter.senna@linux.intel.com>,
Karthik B S <karthik.b.s@intel.com>,
Kamil Konieczny <kamil.konieczny@linux.intel.com>
Subject: [PATCH i-g-t] kms_debugfs: Add missing free()
Date: Wed, 23 Jul 2025 12:15:19 +0200 [thread overview]
Message-ID: <20250723101519.29940-1-peter.senna@linux.intel.com> (raw)
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
next reply other threads:[~2025-07-23 10:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-23 10:15 Peter Senna Tschudin [this message]
2025-07-23 13:18 ` ✓ i915.CI.BAT: success for kms_debugfs: Add missing free() 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250723101519.29940-1-peter.senna@linux.intel.com \
--to=peter.senna@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=karthik.b.s@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox