Bug 128630
| Summary: | AX: AccessibilityUIElement leaks in DumpRenderTree and WebKitTestRunner | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | James Craig <jcraig> |
| Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
James Craig
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/16042120>