Skip to content
Snippets Groups Projects
Commit 66a4784a authored by Chris Wilson's avatar Chris Wilson Committed by Mauro Carvalho Chehab
Browse files

kms_3d: Close device before exit


Close the device fd before we check for leaks during the atexit
handlers.

Signed-off-by: default avatarChris Wilson <chris.p.wilson@intel.com>
Reviewed-by: default avatarKamil Konieczny <kamil.konieczny@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 007ab069
No related branches found
No related tags found
Loading
......@@ -111,4 +111,5 @@ igt_simple_main
kmstest_force_edid(drm_fd, connector, NULL);
drmModeFreeConnector(connector);
close(drm_fd);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment