[Webkit-unassigned] [Bug 234870] New: [Win][DumpRenderTree] dumpHistoryItem leaks a SafeArray

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 4 22:38:14 PST 2022


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

            Bug ID: 234870
           Summary: [Win][DumpRenderTree] dumpHistoryItem leaks a
                    SafeArray
           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: Hironori.Fujii at sony.com

[Win][DumpRenderTree] dumpHistoryItem leaks a SafeArray

r23462 added the following code.

> if (arrPtr && SUCCEEDED(::SafeArrayUnlock(arrPtr)))
>     ::SafeArrayDestroy(arrPtr);

However, the array isn't locked. Thus, SafeArrayUnlock fails.
SafeArrayDestroy isn't called.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220105/9648fb53/attachment-0001.htm>


More information about the webkit-unassigned mailing list