Changeset 77624 in vbox for trunk/src/VBox/Main/src-all
- Timestamp:
- Mar 8, 2019 5:33:50 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp
r76553 r77624 2090 2090 CheckComArgGuid(aObjUuid, ObjectId); 2091 2091 2092 HRESULT hrc S_OK;2092 HRESULT hrc = S_OK; 2093 2093 2094 2094 if ( m->pReg … … 2097 2097 void *pvUnknown = m->pReg->pfnQueryObject(m->pReg, ObjectId.raw()); 2098 2098 if (pvUnknown) 2099 aReturnInterface = (IUnknown *)pvUnknown; 2099 { 2100 aReturnInterface = (IUnknown *)pvUnknown; 2101 /* The above assignment increased the refcount. Since pvUnknown 2102 * is a dumb pointer we have to do the release ourselves. */ 2103 ((IUnknown *)pvUnknown)->Release(); 2104 } 2100 2105 else 2101 2106 hrc = E_NOINTERFACE;
Note:
See TracChangeset
for help on using the changeset viewer.