Bug 25498 - Bug in tutorial example code.
Summary: Bug in tutorial example code.
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Misc (show other bugs)
Version: unspecified
Hardware: All All
: low trivial
Assignee: xcb mailing list dummy
QA Contact: xcb mailing list dummy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-07 13:00 UTC by Jim Ingram
Modified: 2009-12-08 00:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
move free() calls on names array to the end of main. (869 bytes, patch)
2009-12-07 13:00 UTC, Jim Ingram
Details | Splinter Review

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.