VirtualBox

Changeset 10603 in vbox


Ignore:
Timestamp:
Jul 14, 2008 3:13:52 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33301
Message:

*grpmf* copy & past error in the session counting code :/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp

    r10392 r10603  
    391391            g_apSessionHashTab[iHash] = pSession->pNextHash;
    392392            pSession->pNextHash = NULL;
    393             ASMAtomicIncS32(&g_cSessions);
     393            ASMAtomicDecS32(&g_cSessions);
    394394        }
    395395        else
     
    403403                    pPrev->pNextHash = pSession->pNextHash;
    404404                    pSession->pNextHash = NULL;
    405                     ASMAtomicIncS32(&g_cSessions);
     405                    ASMAtomicDecS32(&g_cSessions);
    406406                    break;
    407407                }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette