[Webkit-unassigned] [Bug 148262] New: Spawn JSStdFunction from the JSFunction file and fix the memory leak
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 20 16:20:26 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148262
Bug ID: 148262
Summary: Spawn JSStdFunction from the JSFunction file and fix
the memory leak
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: utatane.tea at gmail.com
JSStdFunction is now implemented in JSFunction.cpp.
And it has the memory leak; It does not have destroy method (and it's not destructible), but it has the std::function as the member.
Since std::function accepts the lambda, it allocates the memory from the heap. So we need to call the destructor onto this.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150820/78baf6ea/attachment.html>
More information about the webkit-unassigned
mailing list