Changeset 31396 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Aug 5, 2010 12:15:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgas.cpp
r28800 r31396 198 198 */ 199 199 size_t cchName = strlen(pszName); 200 PRTDBGASINT pDbgAs = (PRTDBGASINT)RTMemAlloc (RT_OFFSETOF(RTDBGASINT, szName[cchName + 1]));200 PRTDBGASINT pDbgAs = (PRTDBGASINT)RTMemAllocVar(RT_OFFSETOF(RTDBGASINT, szName[cchName + 1])); 201 201 if (!pDbgAs) 202 202 return VERR_NO_MEMORY;
Note:
See TracChangeset
for help on using the changeset viewer.