---
 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 26405f4..041b9dd 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");
 }
-- 
1.6.4.4


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to