[Webkit-unassigned] [Bug 115933] [WK2] CRASH: EXC_BAD_ACCESS crash in WKContextGetInfoForInstalledPlugIns when the dispatch block is destroyed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 10 17:54:58 PDT 2013


--- Comment #2 from Darin Adler <darin at apple.com>  2013-05-10 17:53:24 PST ---
(From update of attachment 201422)
View in context: https://bugs.webkit.org/attachment.cgi?id=201422&action=review

> Source/WebKit2/ChangeLog:11
> +        * UIProcess/API/C/mac/WKContextPrivateMac.mm:
> +        (WKContextGetInfoForInstalledPlugIns): Add __block attribute to the array variable
> +        to remove the const flag in the block, and use .release().leakRef() rather than
> +        .get() to cleanup the array properly.

How is leakRef going to clean up the array properly? It will leak the array!

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