--- trunk/reactos/drivers/fs/np/rw.c 2005-08-07 09:55:54 UTC (rev 17153)
+++ trunk/reactos/drivers/fs/np/rw.c 2005-08-07 10:08:25 UTC (rev 17154)
@@ -184,6 +184,7 @@
ThreadContext->Count++;
ThreadContext->DeviceExt->EmptyWaiterCount--;
}
+ KeUnlockMutex(&ThreadContext->DeviceExt->PipeListLock);
break;
default:
KEBUGCHECK(0);
@@ -204,7 +205,6 @@
Terminate = TRUE;
}
}
- KeUnlockMutex(&ThreadContext->DeviceExt->PipeListLock);
ExFreePool(ThreadContext);
}
@@ -400,6 +400,7 @@
{
if (Fcb->PipeState == FILE_PIPE_CONNECTED_STATE)
{
+ ASSERT(Fcb->OtherSide != NULL);
KeSetEvent(&Fcb->OtherSide->WriteEvent, IO_NO_INCREMENT, FALSE);
}
if (Information > 0 &&