Changeset 12898 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 2, 2008 8:10:58 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGFOS.cpp
r12677 r12898 47 47 { 48 48 /* more validations. */ 49 for (PDBGFOS pOS = pVM->dbgf.s.pOSHead; pOS; pOS = pOS->pNext) 49 PDBGFOS pOS; 50 for (pOS = pVM->dbgf.s.pOSHead; pOS; pOS = pOS->pNext) 50 51 if (!strcmp(pOS->pReg->szName, pReg->szName)) 51 52 { … … 57 58 * Allocate a new structure, call the constructor and link it into the list. 58 59 */ 59 PDBGFOSpOS = (PDBGFOS)MMR3HeapAllocZ(pVM, MM_TAG_DBGF_OS, RT_OFFSETOF(DBGFOS, abData[pReg->cbData]));60 pOS = (PDBGFOS)MMR3HeapAllocZ(pVM, MM_TAG_DBGF_OS, RT_OFFSETOF(DBGFOS, abData[pReg->cbData])); 60 61 AssertReturn(pOS, VERR_NO_MEMORY); 61 62 pOS->pReg = pReg;
Note:
See TracChangeset
for help on using the changeset viewer.