Changeset 55024 in vbox for trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
- Timestamp:
- Mar 31, 2015 10:35:51 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
r54704 r55024 549 549 /* Allocate a first array to hold 32 users max. */ 550 550 char **papszUsers = (char **)RTMemAllocZ(cListSize * sizeof(char *)); 551 if ( papszUsers == NULL)551 if (!papszUsers) 552 552 rc = VERR_NO_MEMORY; 553 553 … … 568 568 cListSize += 32; 569 569 void *pvNew = RTMemRealloc(papszUsers, cListSize * sizeof(char*)); 570 Assert PtrBreakStmt(pvNew, cListSize -= 32);570 AssertBreakStmt(pvNew, cListSize -= 32); 571 571 papszUsers = (char **)pvNew; 572 572 }
Note:
See TracChangeset
for help on using the changeset viewer.