Title: [239419] trunk/Source/WebCore
Revision
239419
Author
jer.no...@apple.com
Date
2018-12-19 19:24:28 -0800 (Wed, 19 Dec 2018)

Log Message

Leak of MTAudioProcessingTap (304 bytes) in com.apple.WebKit.WebContent running WebKit layout tests
https://bugs.webkit.org/show_bug.cgi?id=192896
<rdar://46732186>

Reviewed by Eric Carlson.

* platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm:
(WebCore::AudioSourceProviderAVFObjC::initCallback):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (239418 => 239419)


--- trunk/Source/WebCore/ChangeLog	2018-12-20 01:45:29 UTC (rev 239418)
+++ trunk/Source/WebCore/ChangeLog	2018-12-20 03:24:28 UTC (rev 239419)
@@ -1,3 +1,14 @@
+2018-12-19  Jer Noble  <jer.no...@apple.com>
+
+        Leak of MTAudioProcessingTap (304 bytes) in com.apple.WebKit.WebContent running WebKit layout tests
+        https://bugs.webkit.org/show_bug.cgi?id=192896
+        <rdar://46732186>
+
+        Reviewed by Eric Carlson.
+
+        * platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm:
+        (WebCore::AudioSourceProviderAVFObjC::initCallback):
+
 2018-12-19  Timothy Hatcher  <timo...@apple.com>
 
         REGRESSION (r232991): Switching to dark mode in Mail does not update the message view to be transparent

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm (239418 => 239419)


--- trunk/Source/WebCore/platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm	2018-12-20 01:45:29 UTC (rev 239418)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm	2018-12-20 03:24:28 UTC (rev 239419)
@@ -237,7 +237,7 @@
 {
     ASSERT(tap);
     AudioSourceProviderAVFObjC* _this = static_cast<AudioSourceProviderAVFObjC*>(clientInfo);
-    _this->m_tap = tap;
+    _this->m_tap = adoptCF(tap);
     _this->m_tapStorage = new TapStorage(_this);
     _this->init(clientInfo, tapStorageOut);
     *tapStorageOut = _this->m_tapStorage;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to