VirtualBox

Changeset 64348 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 21, 2016 10:04:51 AM (8 years ago)
Author:
vboxsync
Message:

Audio/AudioMixer.cpp: Do not decrement sinks reference count in audioMixerRemoveSinkInternal().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/AudioMixer.cpp

    r64048 r64348  
    339339    RTListNodeRemove(&pSink->Node);
    340340    Assert(pMixer->cSinks);
    341     pMixer->cSinks--;
    342341
    343342    /* Set mixer to NULL so that we know we're not part of any mixer anymore. */
     
    710709    if (pSink->pParent)
    711710    {
    712         /* Save sink pointer, as after audioMixerRemoveSinkInternal() the
     711        /* Save mixer pointer, as after audioMixerRemoveSinkInternal() the
    713712         * pointer will be gone from the stream. */
    714713        PAUDIOMIXER pMixer = pSink->pParent;
     714        AssertPtr(pMixer);
    715715
    716716        audioMixerRemoveSinkInternal(pMixer, pSink);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette