tests/modetest: Don't get_props on a connector after freeing it.
parent
694ef59532
commit
9a37455b35
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue