Bug 37360
| Summary: | REGRESSION(r49963): All Workers leak their WebCoreJSClientData | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Geoffrey Garen <ggaren> |
| Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | barraclough |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Geoffrey Garen
From WorkerScriptController.cpp:
{
m_globalData->clientData = new WebCoreJSClientData(m_globalData.get());
}
No one ever deletes this data.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Geoffrey Garen
NM.
~JSGlobalData delete the pointer. We should probably change it to an OwnPtr to make this clearer.