VirtualBox

Changeset 54850 in vbox


Ignore:
Timestamp:
Mar 19, 2015 6:40:40 PM (10 years ago)
Author:
vboxsync
Message:

Audio/CoreAudio: Try to fix leak in error path of recording callback

File:
1 edited

Legend:

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

    r54547 r54850  
    607607            {
    608608                LogFlowFunc(("Failed rendering audio data (%RI32)\n", err));
     609                RTMemFree(pStreamIn->bufferList.mBuffers[0].mData);
     610                pStreamIn->bufferList.mBuffers[0].mData = NULL;
    609611                rc = VERR_IO_GEN_FAILURE; /** @todo Improve this. */
    610612                break;
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