- Timestamp:
- Jul 1, 2009 3:40:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp
r21117 r21133 3473 3473 { 3474 3474 const DConnectSetupQueryInterface *setupQI = (const DConnectSetupQueryInterface *) setup; 3475 DConnectInstance * instance = (DConnectInstance *)setupQI->instance;3475 DConnectInstance *QIinstance = (DConnectInstance *)setupQI->instance; 3476 3476 3477 3477 // make sure we've been sent a valid wrapper 3478 if (!CheckInstanceAndAddRef( instance, peer))3478 if (!CheckInstanceAndAddRef(QIinstance, peer)) 3479 3479 { 3480 3480 NS_NOTREACHED("instance wrapper not found"); … … 3483 3483 else 3484 3484 { 3485 rv = instance->RealInstance()->QueryInterface(setupQI->iid, (void **) &instance);3486 instance->Release();3485 rv = QIinstance->RealInstance()->QueryInterface(setupQI->iid, (void **) &instance); 3486 QIinstance->Release(); 3487 3487 } 3488 3488 break;
Note:
See TracChangeset
for help on using the changeset viewer.