Some Issues: 1)We dont destroy the created FBO. 2)We dont free temp allocated XVisuals. 3)We close the XDisplay before surface and context are released.
Created attachment 183131 [details] patch
Comment on attachment 183131 [details] patch Removing request for review. Will update a new patch without X changes as it will be handled in a separate changeset
Created attachment 183343 [details] patch
Looks good to me.
Comment on attachment 183343 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=183343&action=review Patch looks good to me as well. Please address the few nits. > Source/WebCore/ChangeLog:8 > + GLX and EGL surface dont release GL resources created by them. nit: dont -> do not or don't > Source/WebCore/ChangeLog:9 > + This patch enusures that the leaks are fixed and typo: enusures -> ensures > Source/WebCore/ChangeLog:19 > + (WebCore::GLXOffScreenContext::freeResources): Dont reset the display to null. nit: Dont -> Don't
Created attachment 183358 [details] patch v3
(In reply to comment #5) > (From update of attachment 183343 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=183343&action=review > > nit: Dont -> Don't done
Comment on attachment 183358 [details] patch v3 r=me.
Comment on attachment 183358 [details] patch v3 Clearing flags on attachment: 183358 Committed r140145: <http://trac.webkit.org/changeset/140145>
All reviewed patches have been landed. Closing bug.