[Webkit-unassigned] [Bug 60872] [WebKit2] handleMessageDelayed function handles replyEncoder ownership inconsistently

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 16 08:34:38 PDT 2011


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





--- Comment #4 from Darin Adler <darin at apple.com>  2011-05-16 08:34:38 PST ---
Yes, there is a leak here when arguments fail to decode. A good way to fix that would be to put the adoptPtr should be in generated code and have handleMessageDelayed take a PassOwnPtr, as Adam seems to be suggesting.

Otherwise, this works fine although it’s a bit awkward. The difference in encoder lifetime is controlled by Connection::dispatchSyncMessage, which calls leakPtr when the reply mode is ManualReply.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list