Changeset 83368 in vbox for trunk/src/VBox/Runtime/common/alloc/alloc.cpp
- Timestamp:
- Mar 23, 2020 1:52:14 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 136573
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/alloc/alloc.cpp
r82968 r83368 62 62 RT_EXPORT_SYMBOL(RTMemDupExTag); 63 63 64 65 RTDECL(void *) RTMemReallocZTag(void *pvOld, size_t cbOld, size_t cbNew, const char *pszTag) RT_NO_THROW_DEF 66 { 67 void *pvDst = RTMemReallocTag(pvOld, cbNew, pszTag); 68 if (pvDst && cbNew > cbOld) 69 memset((uint8_t *)pvDst + cbOld, 0, cbNew - cbOld); 70 return pvDst; 71 } 72 RT_EXPORT_SYMBOL(RTMemReallocZTag); 73
Note:
See TracChangeset
for help on using the changeset viewer.