VirtualBox

Changeset 72111 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
May 4, 2018 12:36:51 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
122506
Message:

Audio/DrvAudio: Just return if file isn't valid (anymore) in DrvAudioHlpFileClose().

File:
1 edited

Legend:

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

    r71126 r72111  
    13931393int DrvAudioHlpFileClose(PPDMAUDIOFILE pFile)
    13941394{
    1395     AssertPtrReturn(pFile, VERR_INVALID_POINTER);
     1395    if (!pFile)
     1396        return VINF_SUCCESS;
    13961397
    13971398    size_t cbSize = DrvAudioHlpFileGetDataSize(pFile);
Note: See TracChangeset for help on using the changeset viewer.

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