[igt-dev] [PATCH i-g-t v2 5/5] tests/kms_invalid_mode: test cleanup

Kunal Joshi kunal1.joshi at intel.com
Wed Sep 28 06:39:12 UTC 2022


v1:
close drm_fd

v2:
Corrected commit subject (Jeevan & Swati)

Cc: Karthik B S <karthik.b.s at intel.com>
CC: Jeevan B <jeevan.b at intel.com>
Cc: Swati Sharma <swati2.sharma at intel.com>
Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
---
 tests/kms_invalid_mode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_invalid_mode.c b/tests/kms_invalid_mode.c
index 0ae98a31..f1c38669 100644
--- a/tests/kms_invalid_mode.c
+++ b/tests/kms_invalid_mode.c
@@ -306,5 +306,6 @@ igt_main
 	igt_fixture {
 		igt_display_fini(&data.display);
 		igt_reset_connectors();
+		close(data.drm_fd);
 	}
 }
-- 
2.25.1



More information about the igt-dev mailing list