mirror of
https://github.com/reactos/reactos.git
synced 2024-07-11 15:15:27 +00:00
- fix memory leak
svn path=/trunk/; revision=26195
This commit is contained in:
parent
71bef156c4
commit
d7f6674119
|
@ -390,6 +390,7 @@ NpfsCreateNamedPipe(PDEVICE_OBJECT DeviceObject,
|
|||
if (Fcb == NULL)
|
||||
{
|
||||
KeUnlockMutex(&DeviceExt->PipeListLock);
|
||||
ExFreePool(Ccb);
|
||||
Irp->IoStatus.Status = STATUS_NO_MEMORY;
|
||||
Irp->IoStatus.Information = 0;
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
|
|
Loading…
Reference in a new issue