[Webkit-unassigned] [Bug 158716] New: False-positive over-release of WebView in destroyWebViewAndOffscreenWindow() in DumpRenderTree.mm

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 13 18:16:44 PDT 2016


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

            Bug ID: 158716
           Summary: False-positive over-release of WebView in
                    destroyWebViewAndOffscreenWindow() in
                    DumpRenderTree.mm
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: lforschler at apple.com

The clang static analyzer complains that 'webView' is over-released in destroyWebViewAndOffscreenWindow() in DumpRenderTree.mm.

The current code retains 'webView' in createWebViewAndOffscreenWindow(), returns it, then assumes that [mainFrame webView] returns the exact same WebView in destroyWebViewAndOffscreenWindow().

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160614/0029483c/attachment.html>


More information about the webkit-unassigned mailing list