VirtualBox

Changeset 32373 in vbox


Ignore:
Timestamp:
Sep 10, 2010 8:33:16 AM (14 years ago)
Author:
vboxsync
Message:

Must not call PGMPhysReleasePageMappingLock when the lock failed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r32302 r32373  
    32623262                               pvDst, (const uint8_t *)pvSrc + (GCPtrSrc & PAGE_OFFSET_MASK), GCPtrSrc, cb));
    32633263                        memcpy(pvDst, (const uint8_t *)pvSrc + (GCPtrSrc & PAGE_OFFSET_MASK), cb);
     3264                        PGMPhysReleasePageMappingLock(pVM, &Lock);
    32643265                        break;
    32653266                    case VERR_PGM_PHYS_PAGE_RESERVED:
     
    32723273                        return rc;
    32733274                }
    3274                 PGMPhysReleasePageMappingLock(pVM, &Lock);
    32753275
    32763276                if (!(fFlags & X86_PTE_A))
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