Bug 25498

Summary: Bug in tutorial example code.
Product: XCB Reporter: Jim Ingram <ingramj>
Component: MiscAssignee: xcb mailing list dummy <xcb>
Status: RESOLVED FIXED QA Contact: xcb mailing list dummy <xcb>
Severity: trivial    
Priority: low    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: move free() calls on names array to the end of main.

Description Jim Ingram 2009-12-07 13:00:17 UTC
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.