Changeset 36842 in vbox
- Timestamp:
- Apr 26, 2011 7:54:09 AM (14 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/Performance.h
r36839 r36842 44 44 public: 45 45 CircularBuffer() : mData(0), mLength(0), mEnd(0), mWrapped(false) {}; 46 ~CircularBuffer() { if (mData) RTMemFree(mData); }; 46 47 void init(ULONG length); 47 48 ULONG length(); -
trunk/src/VBox/Main/src-server/PerformanceImpl.cpp
r36839 r36842 509 509 "returned %d values.\n", (*it)->getName(), length)); 510 510 memcpy(retData.raw() + flatIndex, values, length * sizeof(*values)); 511 RTMemFree(values); 511 512 Bstr tmp((*it)->getName()); 512 513 tmp.detachTo(&retNames[i]);
Note:
See TracChangeset
for help on using the changeset viewer.