aboutsummaryrefslogtreecommitdiff
path: root/libxcb/doc/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/doc/tutorial')
-rw-r--r--libxcb/doc/tutorial/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/libxcb/doc/tutorial/index.html b/libxcb/doc/tutorial/index.html
index 58248079f..aa3ae1706 100644
--- a/libxcb/doc/tutorial/index.html
+++ b/libxcb/doc/tutorial/index.html
@@ -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);