mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
- fix memory leak
svn path=/trunk/; revision=26195
This commit is contained in:
parent
71bef156c4
commit
d7f6674119
1 changed files with 1 additions and 0 deletions
|
@ -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