Created attachment 31826 [details] [review] move free() calls on names array to the end of main. In the first example program in the tutorial, elements of the names[] array are accessed after they've been freed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.