diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2010-02-27 15:04:40 +0000 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2010-02-28 00:25:22 +0000 |
commit | 9a37455b35d746d694760cfe8850a8bf856d73c9 (patch) | |
tree | a6daf201fb9391f9f6593bc9f90399029b2c35bd | |
parent | 694ef59532253727176ed0ce9077ae3ec41dd457 (diff) |
tests/modetest: Don't get_props on a connector after freeing it.
-rw-r--r-- | tests/modetest/modetest.c | 4 |
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"); } |