VirtualBox

Changeset 11383 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 13, 2008 12:21:04 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34658
Message:

PerfAPI: Null IN array handling changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Performance.cpp

    r11336 r11383  
    387387               ComSafeArrayIn(IUnknown *, objects))
    388388{
    389     com::SafeIfaceArray <IUnknown> objectArray(ComSafeArrayInArg(objects));
    390389    com::SafeArray <INPTR BSTR> nameArray(ComSafeArrayInArg(metricNames));
    391     if (objectArray.isNull())
     390
     391    if (ComSafeArrayInIsNull(objects))
    392392    {
    393393        if (nameArray.size())
     
    401401    else
    402402    {
     403        com::SafeIfaceArray <IUnknown> objectArray(ComSafeArrayInArg(objects));
     404
    403405        for (size_t i = 0; i < objectArray.size(); ++i)
    404406            switch (nameArray.size())
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