Changeset 71707 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Apr 6, 2018 1:42:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r71706 r71707 1210 1210 1211 1211 uint32_t cbCorbBuf = cEntries * sizeof(uint32_t); 1212 1213 1212 if (cbCorbBuf != pThis->cbCorbBuf) 1214 1213 { … … 1222 1221 { 1223 1222 Assert(cbCorbBuf % sizeof(uint32_t) == 0); 1224 1225 1223 pThis->pu32CorbBuf = (uint32_t *)RTMemAllocZ(cbCorbBuf); 1226 pThis->cbCorbBuf = cbCorbBuf; 1227 } 1224 AssertStmt(pThis->pu32CorbBuf, cbCorbBuf = 0); 1225 } 1226 1227 pThis->cbCorbBuf = cbCorbBuf; 1228 1228 } 1229 1229
Note:
See TracChangeset
for help on using the changeset viewer.