hi, i've attached a small patch that should fix a small memory allocation issue when called without arguments.
a! -- aszlig Universaldilettant RedMoonStudios
Don't deallocate the connector before reading props. --- tests/modetest/modetest.c 2009-03-19 00:51:13.000000000 +0100 +++ tests/modetest/modetest.c 2009-04-21 21:46:31.655625014 +0200 @@ -199,10 +199,10 @@ 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"); }
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p
-- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel