Changeset 72613 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Jun 19, 2018 1:16:32 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp
r72602 r72613 1046 1046 size_t const cbFile = pSrcPos->pszFile ? strlen(pSrcPos->pszFile) + 1 : 0; 1047 1047 size_t const cbFunction = pSrcPos->pszFile ? strlen(pSrcPos->pszFunction) + 1 : 0; 1048 RTLOCKVALCLASSINT *pThis = (RTLOCKVALCLASSINT *)RTMemAllocVar(sizeof(*pThis) + cbFile + cbFunction + cbName); 1048 RTLOCKVALCLASSINT *pThis = (RTLOCKVALCLASSINT *)RTMemAllocVarTag(sizeof(*pThis) + cbFile + cbFunction + cbName, 1049 "may-leak:RTLockValidatorClassCreateExV"); 1049 1050 if (!pThis) 1050 1051 return VERR_NO_MEMORY; … … 1097 1098 #endif 1098 1099 1099 #ifdef VBOX_WITH_GCC_SANITIZER1100 __lsan_ignore_object(pThis);1101 #endif1102 1100 *phClass = pThis; 1103 1101 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.