Changeset 25434 in vbox
- Timestamp:
- Dec 16, 2009 3:01:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r25430 r25434 618 618 void VBOXCALL supdrvCleanupSession(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession) 619 619 { 620 int rc , rcLock;620 int rc; 621 621 PSUPDRVBUNDLE pBundle; 622 622 LogFlow(("supdrvCleanupSession: pSession=%p\n", pSession)); … … 783 783 * Loaded images needs to be dereferenced and possibly freed up. 784 784 */ 785 rcLock = supdrvLdrLock(pDevExt); 786 if (rcLock != VINF_SUCCESS) 787 Log(("supdrvLdrLock failed with rc=%d\n", rcLock)); 785 supdrvLdrLock(pDevExt); 788 786 Log2(("freeing images:\n")); 789 787 if (pSession->pLdrUsage) … … 804 802 } 805 803 } 806 /* Calling supdrvLdrUnlock when the above lock failed raises a fatal exception in Windows. */ 807 if (rcLock == VINF_SUCCESS) 808 supdrvLdrUnlock(pDevExt); 804 supdrvLdrUnlock(pDevExt); 809 805 Log2(("freeing images - done\n")); 810 806 … … 4076 4072 { 4077 4073 #ifdef SUPDRV_USE_MUTEX_FOR_LDR 4078 returnRTSemMutexRequest(pDevExt->mtxLdr, RT_INDEFINITE_WAIT);4074 int rc = RTSemMutexRequest(pDevExt->mtxLdr, RT_INDEFINITE_WAIT); 4079 4075 #else 4080 returnRTSemFastMutexRequest(pDevExt->mtxLdr);4076 int rc = RTSemFastMutexRequest(pDevExt->mtxLdr); 4081 4077 #endif 4078 AssertRC(rc); 4079 return rc; 4082 4080 } 4083 4081
Note:
See TracChangeset
for help on using the changeset viewer.