[Webkit-unassigned] [Bug 115766] really fixed the memory leak

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 7 16:00:33 PDT 2013


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


Mark Rowe (bdash) <mrowe at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #200988|review?, commit-queue?      |review+, commit-queue-
               Flag|                            |




--- Comment #2 from Mark Rowe (bdash) <mrowe at apple.com>  2013-05-07 15:58:57 PST ---
(From update of attachment 200988)
View in context: https://bugs.webkit.org/attachment.cgi?id=200988&action=review

r=me, but I think the ChangeLog should be improved before landing.

> Tools/ChangeLog:6
> +        I needed to adopt the pointer to fix the memory leak.
> +        https://bugs.webkit.org/show_bug.cgi?id=115766
> +
> +        Reviewed by NOBODY (OOPS!).

This would be better if the title stated what it's doing, and then a descriptive sentence later on mentioned the SVN revision in which the leak was introduced, the SVN revision in which you attempted to fix it earlier, and why that fix was incorrect. Something like:

<http://webkit.org/b/115766> Fix a memory leak introduced in r149692

Reviewed by NOBODY (OOPS!).

In r149692, the fix for <http://webkit.org/b/42324>, a call to WKBundleFrameCopyWebArchive was added without any matching call to WKRelease. An earlier attempted fix in r149697 introduced a RetainPtr but failed to adopt the object.

> Tools/ChangeLog:10
> +        really fixed memory leak

This should be a complete sentence. It wouldn't hurt to describe the fix either. "Fix the memory leak by switching to WKRetainPtr and adopting the returned object."

-- 
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