Changeset 87151 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Dec 31, 2020 10:12:45 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp
r83739 r87151 1044 1044 * it all. 1045 1045 */ 1046 size_t const cbFile = pSrcPos->pszFile ? strlen(pSrcPos->pszFile)+ 1 : 0;1047 size_t const cbFunction = pSrcPos->pszFile? strlen(pSrcPos->pszFunction) + 1 : 0;1048 RTLOCKVALCLASSINT *pThis = (RTLOCKVALCLASSINT *)RTMemAllocVarTag(sizeof(*pThis) + cbFile + cbFunction + cbName,1049 "may-leak:RTLockValidatorClassCreateExV");1046 size_t const cbFile = pSrcPos->pszFile ? strlen(pSrcPos->pszFile) + 1 : 0; 1047 size_t const cbFunction = pSrcPos->pszFunction ? strlen(pSrcPos->pszFunction) + 1 : 0; 1048 RTLOCKVALCLASSINT *pThis = (RTLOCKVALCLASSINT *)RTMemAllocVarTag(sizeof(*pThis) + cbFile + cbFunction + cbName, 1049 "may-leak:RTLockValidatorClassCreateExV"); 1050 1050 if (!pThis) 1051 1051 return VERR_NO_MEMORY;
Note:
See TracChangeset
for help on using the changeset viewer.