⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 239419 in webkit


Ignore:
Timestamp:
Dec 19, 2018, 7:24:28 PM (8 years ago)
Author:
jer.noble@apple.com
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r239414 r239419  
     12018-12-19  Jer Noble  <jer.noble@apple.com>
     2
     3        Leak of MTAudioProcessingTap (304 bytes) in com.apple.WebKit.WebContent running WebKit layout tests
     4        https://bugs.webkit.org/show_bug.cgi?id=192896
     5        <rdar://46732186>
     6
     7        Reviewed by Eric Carlson.
     8
     9        * platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm:
     10        (WebCore::AudioSourceProviderAVFObjC::initCallback):
     11
    1122018-12-19  Timothy Hatcher  <timothy@apple.com>
    213
  • trunk/Source/WebCore/platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm

    r232519 r239419  
    238238    ASSERT(tap);
    239239    AudioSourceProviderAVFObjC* _this = static_cast<AudioSourceProviderAVFObjC*>(clientInfo);
    240     _this->m_tap = tap;
     240    _this->m_tap = adoptCF(tap);
    241241    _this->m_tapStorage = new TapStorage(_this);
    242242    _this->init(clientInfo, tapStorageOut);
Note: See TracChangeset for help on using the changeset viewer.