2009-02-23 Anders Carlsson <andersca@apple.com>
Reviewed by Geoffrey Garen and Darin Adler.
WebKit side of <rdar://problem/
6613151>.
Make sure to vm_deallocate all memory we get from MIG callbacks.
* Plugins/Hosted/NetscapePluginHostProxy.mm:
(DataDeallocator::DataDeallocator):
(DataDeallocator::~DataDeallocator):
Add a simple deallocator class.
(WKPCStatusText):
(WKPCLoadURL):
(WKPCBooleanAndDataReply):
(WKPCEvaluate):
(WKPCGetStringIdentifier):
(WKPCInvoke):
(WKPCInvokeDefault):
(WKPCConstruct):
(WKPCSetProperty):
Use the new deallocator class.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41155
268f45cc-cd09-0410-ab3c-
d52691b4dbfc