[Mesa-dev] [Bug 64335] New: DispatchList leaked in glxapi.c?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 7 13:36:39 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=64335

          Priority: medium
            Bug ID: 64335
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: DispatchList leaked in glxapi.c?
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: askinner at mathworks.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: Drivers/X11
           Product: Mesa

get_dispatch() in glxapi.c grows the DispatchList table.  It is small, but as
far as I can see, items don't get removed as a Display is closed.

Could/should this get cleaned up, maybe from close_display_callback() in
fakeglx.c?

It is a small leak (we see 24 bytes per Display in 7.2), but I think it would
be better if closed, as this list will just grow.  I don't know if the table
pointed to by the structures in this list are cleared up, but I haven't seen
them as leaks.

The relevant code looks similar in repository.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130507/242b6aa5/attachment.html>


More information about the mesa-dev mailing list