From ef58af6dfc86075077a814af64cb02de814b92cb Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 14 Apr 2020 11:31:07 +0100 Subject: [PATCH] modetest: close the device on exit Signed-off-by: Emil Velikov Reviewed-by: Ezequiel Garcia Tested-by: Ezequiel Garcia --- tests/modetest/modetest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index c1e89f31..2899deb4 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -2150,6 +2150,7 @@ int main(int argc, char **argv) } free_resources(dev.resources); + drmClose(dev.fd); return 0; }