- Timestamp:
- Mar 19, 2014 12:16:37 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92871
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp
r49846 r50820 516 516 517 517 rc = pThis->pHGCMDrv->pfnConnect (pThis->pHGCMDrv, pCmd, &pHGCMConnectCopy->loc, &pHGCMConnectCopy->u32ClientID); 518 519 if (RT_FAILURE(rc)) 520 vmmdevHGCMRemoveCommand(pThis, pCmd); 518 521 } 519 522 else … … 555 558 *pfHGCMCalled = true; 556 559 } 560 /* else 561 * ... the caller will also execute vmmdevHGCMRemoveCommand() for us */ 557 562 } 558 563 else … … 581 586 582 587 rc = pThis->pHGCMDrv->pfnDisconnect (pThis->pHGCMDrv, pCmd, pHGCMDisconnect->u32ClientID); 588 589 if (RT_FAILURE(rc)) 590 vmmdevHGCMRemoveCommand(pThis, pCmd); 583 591 } 584 592 else … … 615 623 *pfHGCMCalled = true; 616 624 } 625 /* else 626 * ... the caller will also execute vmmdevHGCMRemoveCommand() for us */ 617 627 } 618 628 else … … 1736 1746 *pfHGCMCalled = true; 1737 1747 } 1748 /* else 1749 * ... the caller will also execute vmmdevHGCMRemoveCommand() for us */ 1738 1750 } 1739 1751
Note:
See TracChangeset
for help on using the changeset viewer.