Bug 128630

Summary: AX: AccessibilityUIElement leaks in DumpRenderTree and WebKitTestRunner
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description James Craig 2014-02-11 15:29:18 PST
From Darin's comment in bug 127447:
https://bugs.webkit.org/show_bug.cgi?id=127447#c39

> > return JSStringCreateWithCharacters(0, 0);
> 
> Writing it like this will result in a leak of every single one of these strings; needs an adopt since JSStringCreateWithCharacters needs to be balanced by a release.
> 
> Needs to be:
>     return adopt(JSStringCreateWithCharacters(nullptr, 0));

There are several platform-specific files that appear to be affected.
Comment 1 Radar WebKit Bug Importer 2014-02-11 15:29:54 PST
<rdar://problem/16042120>