Changeset 165195 in webkit


Ignore:
Timestamp:
Mar 6, 2014 10:05:20 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[Mac] Leak: dispatch_semaphore leak allocated in MediaPlayerPrivateAVFoundationObjC::waitForVideoOutputMediaDataWillChange
https://bugs.webkit.org/show_bug.cgi?id=129792

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2014-03-06
Reviewed by Anders Carlsson.

  • platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:

(WebCore::MediaPlayerPrivateAVFoundationObjC::~MediaPlayerPrivateAVFoundationObjC):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r165194 r165195  
     12014-03-06  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        [Mac] Leak: dispatch_semaphore leak allocated in MediaPlayerPrivateAVFoundationObjC::waitForVideoOutputMediaDataWillChange
     4        https://bugs.webkit.org/show_bug.cgi?id=129792
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
     9        (WebCore::MediaPlayerPrivateAVFoundationObjC::~MediaPlayerPrivateAVFoundationObjC):
     10
    1112014-03-06  Brendan Long  <b.long@cablelabs.com>
    212
  • trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm

    r165125 r165195  
    352352    [m_videoOutputDelegate setCallback:0];
    353353    [m_videoOutput setDelegate:nil queue:0];
     354    if (m_videoOutputSemaphore)
     355        dispatch_release(m_videoOutputSemaphore);
    354356#endif
    355357    cancelLoad();
Note: See TracChangeset for help on using the changeset viewer.