VirtualBox

Changeset 36842 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Apr 26, 2011 7:54:09 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71401
Message:

Main/Metrics: Memory leak fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/Performance.h

    r36839 r36842  
    4444    public:
    4545        CircularBuffer() : mData(0), mLength(0), mEnd(0), mWrapped(false) {};
     46        ~CircularBuffer() { if (mData) RTMemFree(mData); };
    4647        void init(ULONG length);
    4748        ULONG length();
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette