Title: [167551] trunk/Source/WebCore
- Revision
- 167551
- Author
- [email protected]
- Date
- 2014-04-19 15:12:41 -0700 (Sat, 19 Apr 2014)
Log Message
Fix AVPlayerController leak on pages with video
https://bugs.webkit.org/show_bug.cgi?id=131878
Patch by Joseph Pecoraro <[email protected]> on 2014-04-19
Reviewed by Eric Carlson.
* platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
(-[WebAVPlayerController init]):
Assigning to the retain property will increment the count,
so balance the alloc with an autorelease.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (167550 => 167551)
--- trunk/Source/WebCore/ChangeLog 2014-04-19 22:09:51 UTC (rev 167550)
+++ trunk/Source/WebCore/ChangeLog 2014-04-19 22:12:41 UTC (rev 167551)
@@ -1,3 +1,15 @@
+2014-04-19 Joseph Pecoraro <[email protected]>
+
+ Fix AVPlayerController leak on pages with video
+ https://bugs.webkit.org/show_bug.cgi?id=131878
+
+ Reviewed by Eric Carlson.
+
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (-[WebAVPlayerController init]):
+ Assigning to the retain property will increment the count,
+ so balance the alloc with an autorelease.
+
2014-04-19 Andreas Kling <[email protected]>
Slap ALWAYS_INLINE on Element attribute lookup things.
Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm (167550 => 167551)
--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2014-04-19 22:09:51 UTC (rev 167550)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2014-04-19 22:12:41 UTC (rev 167551)
@@ -121,7 +121,7 @@
return self;
initAVPlayerController();
- self.playerControllerProxy = [[classAVPlayerController alloc] init];
+ self.playerControllerProxy = [[[classAVPlayerController alloc] init] autorelease];
return self;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes