RESOLVED FIXED 119412
Lots of leaks under WebContext::pluginInfoStoreDidLoadPlugins()
https://bugs.webkit.org/show_bug.cgi?id=119412
Summary Lots of leaks under WebContext::pluginInfoStoreDidLoadPlugins()
Simon Fraser (smfr)
Reported 2013-08-01 15:04:48 PDT
I ran run-webkit-tests --debug --leaks -2 LayoutTests/compositing/ and got lots of leaks under WebContext::pluginInfoStoreDidLoadPlugins()
Attachments
Leaks (181.96 KB, text/plain)
2013-08-01 15:05 PDT, Simon Fraser (smfr)
no flags
Patch (2.42 KB, patch)
2013-08-01 15:17 PDT, Anders Carlsson
simon.fraser: review+
My patch (2.22 KB, patch)
2013-08-01 15:18 PDT, Mark Rowe (bdash)
no flags
Simon Fraser (smfr)
Comment 1 2013-08-01 15:05:07 PDT
Mark Rowe (bdash)
Comment 2 2013-08-01 15:15:57 PDT
Oh hey, I totally have a patch sitting in my tree that fixes this!
Anders Carlsson
Comment 3 2013-08-01 15:17:06 PDT
Mark Rowe (bdash)
Comment 4 2013-08-01 15:18:17 PDT
Created attachment 207962 [details] My patch This one fixes the bogus lifetime of the array we pass to the callback.
Mark Rowe (bdash)
Comment 5 2013-08-01 15:23:06 PDT
Anders pointed out that the callback in question has already shipped as part of a Safari release on OS X so we can't just retroactively change the ownership semantics without backwards-compatiblity concerns. We'd need to only change it for new clients, perhaps by bumping the version of the client callback structure.
Anders Carlsson
Comment 6 2013-08-01 15:26:12 PDT
Note You need to log in before you can comment on or make changes to this bug.