X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Ftutorial%2Findex.html;h=aa3ae1706283381e3106a6dd6592ef4eb141a918;hb=5e8a7ade2dc8aeeeb8013785ca3f24c6057ae443;hp=c5404263f76764e66f28adc74ad0cbd3618268d6;hpb=2ec1383a68bf9f4baf7125a7d6544167f38d8d62;p=free-sw%2Fxcb%2Flibxcb diff --git a/doc/tutorial/index.html b/doc/tutorial/index.html index c540426..aa3ae17 100644 --- a/doc/tutorial/index.html +++ b/doc/tutorial/index.html @@ -173,7 +173,7 @@ with the XCB library. keep in mind that XCB, like the Xlib - library, isn't what post programmers wanting to write X + library, isn't what most programmers wanting to write X applications are looking for. They should use a much higher level GUI toolkit like Motif, LessTiff, @@ -471,8 +471,6 @@ main () diff = end - start; /* free var */ - for (i = 0; i < count; ++i) - free (names[i]); free (atoms); free (cs); @@ -494,6 +492,8 @@ main () printf ("ratio : %f\n", diff_x / diff); free (atoms_x); + for (i = 0; i < count; ++i) + free (names[i]); free (names); XCloseDisplay (disp);