summaryrefslogtreecommitdiff
path: root/tests/modetest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modetest')
-rw-r--r--tests/modetest/modetest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index faad0b79..c12699cb 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -206,10 +206,10 @@ void dump_connectors(void)
for (j = 0; j < connector->count_modes; j++)
dump_mode(&connector->modes[j]);
- drmModeFreeConnector(connector);
-
printf(" props:\n");
dump_props(connector);
+
+ drmModeFreeConnector(connector);
}
printf("\n");
}