| Summary: | REGRESSION (r234685): Leak of CALayer in createCoreAnimationLayer() in PluginObjectMac.mm | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
| Component: | Tools / Tests | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | darin, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | 188245 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
Created attachment 395282 [details]
Patch v1
This is also the _last_ static analyzer warning in DumpRenderTree for the version of the clang static analyzer we're running! Committed r259403: <https://trac.webkit.org/changeset/259403> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395282 [details]. |
Leak of CALayer in createCoreAnimationLayer() in PluginObjectMac.mm. CFTypeRef createCoreAnimationLayer() { CALayer *caLayer = [[TestPluginLayer alloc] init]; [...] return CFBridgingRetain(caLayer); } This function currently returns a +2 retained object instead of a +1 retained object.