VirtualBox

Changeset 42225 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jul 19, 2012 11:24:10 AM (12 years ago)
Author:
vboxsync
Message:

Runtime/lockvalidator: fixed wrong index found by Parfait

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp

    r39083 r42225  
    10731073    for (unsigned i = 0; i < RT_ELEMENTS(pThis->au32Reserved); i++)
    10741074        pThis->au32Reserved[i]  = 0;
    1075     for (unsigned i = 0; i < RT_ELEMENTS(pThis->au32Reserved); i++)
     1075    for (unsigned i = 0; i < RT_ELEMENTS(pThis->PriorLocks.aRefs); i++)
    10761076    {
    10771077        pThis->PriorLocks.aRefs[i].hClass           = NIL_RTLOCKVALCLASS;
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