Bug 64335 - DispatchList leaked in glxapi.c?
Summary: DispatchList leaked in glxapi.c?
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/X11 (show other bugs)
Version: unspecified
Hardware: Other All
: low normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 20:36 UTC by Andy Skinner
Modified: 2019-09-18 16:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Andy Skinner 2013-05-07 20:36:39 UTC
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.
Comment 1 GitLab Migration User 2019-09-18 16:56:14 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/45.


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.