Changeset 25149 in vbox for trunk/src/VBox/Main/Performance.cpp
- Timestamp:
- Dec 2, 2009 2:34:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Performance.cpp
r22173 r25149 295 295 } 296 296 297 void CircularBuffer::init(ULONG length)297 void CircularBuffer::init(ULONG ulLength) 298 298 { 299 299 if (mData) 300 300 RTMemFree(mData); 301 mLength = length;301 mLength = ulLength; 302 302 if (mLength) 303 mData = (ULONG *)RTMemAllocZ(length * sizeof(ULONG));303 mData = (ULONG*)RTMemAllocZ(ulLength * sizeof(ULONG)); 304 304 else 305 305 mData = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.