VirtualBox

Changeset 94600 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 13, 2022 10:07:12 PM (3 years ago)
Author:
vboxsync
Message:

Main/Medium: Fix leftover from recursion elimination, should not return but continue processing the stack content. bugref:7717

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MediumImpl.cpp

    r94598 r94600  
    42834283
    42844284        AutoCaller mediumCaller(pMedium);
    4285         if (FAILED(mediumCaller.rc())) return mediumCaller.rc();
     4285        if (FAILED(mediumCaller.rc())) continue;
    42864286
    42874287        fAdd |= pMedium->i_addRegistryNoCallerCheck(id);
     
    43514351
    43524352        AutoCaller mediumCaller(pMedium);
    4353         if (FAILED(mediumCaller.rc())) return mediumCaller.rc();
     4353        if (FAILED(mediumCaller.rc())) continue;
    43544354
    43554355        fRemove |= pMedium->i_removeRegistry(id);
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