[Xcb] [Bug 25498] New: Bug in tutorial example code.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 7 13:00:18 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25498

           Summary: Bug in tutorial example code.
           Product: XCB
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: low
         Component: Misc
        AssignedTo: xcb at lists.freedesktop.org
        ReportedBy: ingramj at gmail.com
         QAContact: xcb at lists.freedesktop.org


Created an attachment (id=31826)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=31826)
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.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Xcb mailing list