Added two missing calls to KeLeaveCriticalRegion.
Modified: trunk/reactos/ntoskrnl/ob/handle.c
--- trunk/reactos/ntoskrnl/ob/handle.c 2005-03-13 15:43:02 UTC (rev 14012) +++ trunk/reactos/ntoskrnl/ob/handle.c 2005-03-13 16:41:05 UTC (rev 14013) @@ -169,6 +169,7 @@
ExSourceHandle); if (SourceHandleEntry == NULL) {
+ KeLeaveCriticalRegion();
return STATUS_INVALID_HANDLE; } @@ -506,7 +507,7 @@
return STATUS_SUCCESS; }
-
+ KeLeaveCriticalRegion();
return STATUS_INVALID_HANDLE; }