VirtualBox

Changeset 31819 in vbox


Ignore:
Timestamp:
Aug 20, 2010 1:15:56 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65019
Message:

FE/Qt: fixed objects refcounting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.h

    r30867 r31819  
    686686        {
    687687            mIface = NULL;
    688 #if !defined (VBOX_WITH_XPCOM)
    689             B::mRC = aIface->QueryInterface (_ATL_IIDOF (I), (void **) &mIface);
    690 #else /* !defined (VBOX_WITH_XPCOM) */
    691             B::mRC = aIface->QueryInterface (NS_GET_IID (I), (void **) &mIface);
    692 #endif /* !defined (VBOX_WITH_XPCOM) */
     688            B::mRC = aIface->QueryInterface (COM_IIDOF (I), (void **) &mIface);
     689            release (aIface);
    693690        }
    694691        else
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