VirtualBox

Changeset 29311 in vbox for trunk/src


Ignore:
Timestamp:
May 10, 2010 8:06:12 PM (15 years ago)
Author:
vboxsync
Message:

Main/Medium: small assertion fix when creating diff images for indirect attachments

File:
1 edited

Legend:

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

    r29224 r29311  
    60926092                AutoReadLock alock(pMedium COMMA_LOCKVAL_SRC_POS);
    60936093
    6094                 /* sanity check */
    6095                 Assert(pMedium->m->state == MediumState_LockedRead);
     6094                /* sanity check, "this" is checked above */
     6095                Assert(   pMedium == this
     6096                       || pMedium->m->state == MediumState_LockedRead);
    60966097
    60976098                /* Open all images in appropriate mode. */
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