Changeset 28271 in vbox for trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp
- Timestamp:
- Apr 13, 2010 7:29:42 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60013
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp
r28267 r28271 1072 1072 size_t const cbFile = pSrcPos->pszFile ? strlen(pSrcPos->pszFile) + 1 : 0; 1073 1073 size_t const cbFunction = pSrcPos->pszFile ? strlen(pSrcPos->pszFunction) + 1 : 0; 1074 RTLOCKVALCLASSINT *pThis = (RTLOCKVALCLASSINT *)RTMemAlloc (sizeof(*pThis) + cbFile + cbFunction + cbName);1074 RTLOCKVALCLASSINT *pThis = (RTLOCKVALCLASSINT *)RTMemAllocVar(sizeof(*pThis) + cbFile + cbFunction + cbName); 1075 1075 if (!pThis) 1076 1076 return VERR_NO_MEMORY;
Note:
See TracChangeset
for help on using the changeset viewer.