VirtualBox

Changeset 55285 in vbox


Ignore:
Timestamp:
Apr 15, 2015 1:53:51 PM (10 years ago)
Author:
vboxsync
Message:

Main/Medium: Preserve any errors when deleting the medium locks list

File:
1 edited

Legend:

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

    r55284 r55285  
    706706        if (mstrCurrentPassword.length())
    707707            RTMemWipeThoroughly(mstrCurrentPassword.mutableRaw(), mstrCurrentPassword.length(), 10 /* cPasses */);
     708
     709        /* Keep any errors which might be set when deleting the lock list. */
     710        ErrorInfoKeeper eik;
    708711        delete mpMediumLockList;
    709712    }
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