[Webkit-unassigned] [Bug 126610] New: Memory leak from windowScriptObjectAvailable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 7 17:57:06 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=126610

           Summary: Memory leak from windowScriptObjectAvailable
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alex.christensen at flexsim.com
                CC: bfulgham at webkit.org


I'm working on finding a memory leak in Source/WebKit/win.  We are getting a JSContextRef from the call to windowScriptObjectAvailable in WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld.  The JSContextRef has an extra reference to it that is not being dereferenced when we call WebView::close, and it's causing our JSObjectFinalizeCallback not to be called.  I'm not sure where exactly to look, but it feels like a release of some sort should be added to WebView::close.

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



More information about the webkit-unassigned mailing list