summaryrefslogtreecommitdiff
path: root/tests/modetest
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2010-02-27 15:04:40 +0000
committerJakob Bornecrantz <jakob@vmware.com>2010-02-28 00:25:22 +0000
commit9a37455b35d746d694760cfe8850a8bf856d73c9 (patch)
treea6daf201fb9391f9f6593bc9f90399029b2c35bd /tests/modetest
parent694ef59532253727176ed0ce9077ae3ec41dd457 (diff)
tests/modetest: Don't get_props on a connector after freeing it.
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");
}