VirtualBox

Changeset 55809 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
May 11, 2015 7:04:31 PM (10 years ago)
Author:
vboxsync
Message:

fixed error path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/com.cpp

    r53834 r55809  
    8383void GetInterfaceNameByIID(const GUID &aIID, BSTR *aName)
    8484{
    85     Assert(aName);
    86     if (!aName)
    87         return;
    88 
     85    AssertPtrReturnVoid(aName);
    8986    *aName = NULL;
    9087
     
    115112                    {
    116113                        SysFreeString(*aName);
    117                         aName = NULL;
     114                        *aName = NULL;
    118115                    }
    119116                }
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