VirtualBox

Ignore:
Timestamp:
Mar 31, 2015 10:35:51 AM (10 years ago)
Author:
vboxsync
Message:

Additions/VBoxService: s/AssertPtr/Assert/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp

    r54704 r55024  
    549549    /* Allocate a first array to hold 32 users max. */
    550550    char **papszUsers = (char **)RTMemAllocZ(cListSize * sizeof(char *));
    551     if (papszUsers == NULL)
     551    if (!papszUsers)
    552552        rc = VERR_NO_MEMORY;
    553553
     
    568568            cListSize += 32;
    569569            void *pvNew = RTMemRealloc(papszUsers, cListSize * sizeof(char*));
    570             AssertPtrBreakStmt(pvNew, cListSize -= 32);
     570            AssertBreakStmt(pvNew, cListSize -= 32);
    571571            papszUsers = (char **)pvNew;
    572572        }
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