mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[NPFS]
PATCH: Arty's fixes based on CMake branch testing. Just the NPFS code. See issue #6103 for more details. svn path=/trunk/; revision=51320
This commit is contained in:
parent
0669ecfaf3
commit
0dda24faea
1 changed files with 1 additions and 1 deletions
|
@ -937,10 +937,10 @@ NpfsClose(PDEVICE_OBJECT DeviceObject,
|
||||||
if (IsListEmpty(&Fcb->ServerCcbListHead) &&
|
if (IsListEmpty(&Fcb->ServerCcbListHead) &&
|
||||||
IsListEmpty(&Fcb->ClientCcbListHead))
|
IsListEmpty(&Fcb->ClientCcbListHead))
|
||||||
{
|
{
|
||||||
RtlFreeUnicodeString(&Fcb->PipeName);
|
|
||||||
KeLockMutex(&Vcb->PipeListLock);
|
KeLockMutex(&Vcb->PipeListLock);
|
||||||
RemoveEntryList(&Fcb->PipeListEntry);
|
RemoveEntryList(&Fcb->PipeListEntry);
|
||||||
KeUnlockMutex(&Vcb->PipeListLock);
|
KeUnlockMutex(&Vcb->PipeListLock);
|
||||||
|
RtlFreeUnicodeString(&Fcb->PipeName);
|
||||||
ExFreePool(Fcb);
|
ExFreePool(Fcb);
|
||||||
FileObject->FsContext = NULL;
|
FileObject->FsContext = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue