VirtualBox

Changeset 12535 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Sep 17, 2008 11:38:03 AM (16 years ago)
Author:
vboxsync
Message:

Plugged memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/win/PerformanceWin.cpp

    r12513 r12535  
    5454{
    5555public:
    56     CollectorWin();
    57     virtual ~CollectorWin();
    58 
    5956    virtual int preCollect(const CollectorHints& hints);
    6057    virtual int getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle);
     
    8481    return new CollectorWin();
    8582}
    86 
    87 CollectorWin::CollectorWin()
    88 {
    89 }
    90 
    91 CollectorWin::~CollectorWin()
    92 {
    93 
    94 }
    95 
    9683
    9784#define FILETTIME_TO_100NS(ft) (((uint64_t)ft.dwHighDateTime << 32) + ft.dwLowDateTime)
     
    220207    *mhz = (ULONG)(uTotalMhz / nProcessors);
    221208
     209    delete ppi;
    222210    LogFlowThisFunc(("mhz=%u\n", *mhz));
    223211    LogFlowThisFuncLeave();
Note: See TracChangeset for help on using the changeset viewer.

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