Changeset 77772 in vbox
- Timestamp:
- Mar 18, 2019 9:59:40 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/vfs/vfschain.cpp
r76553 r77772 531 531 } 532 532 533 memcpy(paNew, pSpec->paElements, iElement * sizeof(paNew[0])); 533 if (iElement) 534 memcpy(paNew, pSpec->paElements, iElement * sizeof(paNew[0])); 534 535 RTMemTmpFree(pSpec->paElements); 535 536 pSpec->paElements = paNew; … … 572 573 if (!paNew) 573 574 return VERR_NO_TMP_MEMORY; 574 memcpy(paNew, pElement->paArgs, iArg * sizeof(paNew[0])); 575 if (iArg) 576 memcpy(paNew, pElement->paArgs, iArg * sizeof(paNew[0])); 575 577 RTMemTmpFree(pElement->paArgs); 576 578 pElement->paArgs = paNew;
Note:
See TracChangeset
for help on using the changeset viewer.