[Webkit-unassigned] [Bug 193291] Leak of WTF::StringImpl under SymbolImpl::createNullSymbol() (48 bytes) in com.apple.WebKit.WebContent running layout tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 2 06:38:10 PST 2019


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

David Kilzer (:ddkilzer) <ddkilzer at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.webkit.org/sho
                   |                            |w_bug.cgi?id=165247

--- Comment #12 from David Kilzer (:ddkilzer) <ddkilzer at webkit.org> ---
(In reply to Yusuke Suzuki from comment #11)
> https://bugs.webkit.org/show_bug.cgi?id=194082 I think this is the cause of
> this issue.

It's not the direct cause, but it did help me to find the root cause.

SymbolImpl() needs a destructor to call StringImpl::deref() on `m_owner` since 2 of 3 SymbolImpl constructors leak a StringImpl ref to store the pointer value.

-- 
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/20190202/90d1a967/attachment.html>


More information about the webkit-unassigned mailing list