[Bug 104884] memory leak with intel i965 mesa when running android container in Ubuntu

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 14 13:11:39 UTC 2018


--- Comment #11 from Tapani Pälli <lemody at gmail.com> ---
(In reply to Simon Hausmann from comment #10)
> Created attachment 137353 [details] [review]
> Simple patch that changes glsl_type to manage its own memory
> I've made a patch that attempts to simplify the glsl_type memory management
> and as a bonus also gets rid of the global mutex. Is this patch worth
> submitting to the list?

Cool, yeah it looks like it would work, I guess strdup needs to be util_strdup.
I thought about this earlier but I wonder if the reason for having the global
context is that there are a *lot* of types so now we will have loads of ralloc
contexts .. not sure. Please send to mesa-dev for discussion?

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180214/839577ad/attachment.html>

More information about the intel-3d-bugs mailing list