Author: janderwald
Date: Wed Mar 28 21:43:44 2007
New Revision: 26195
URL:
http://svn.reactos.org/svn/reactos?rev=26195&view=rev
Log:
- fix memory leak
Modified:
trunk/reactos/drivers/filesystems/np/create.c
Modified: trunk/reactos/drivers/filesystems/np/create.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/np/cre…
==============================================================================
--- trunk/reactos/drivers/filesystems/np/create.c (original)
+++ trunk/reactos/drivers/filesystems/np/create.c Wed Mar 28 21:43:44 2007
@@ -390,6 +390,7 @@
if (Fcb == NULL)
{
KeUnlockMutex(&DeviceExt->PipeListLock);
+ ExFreePool(Ccb);
Irp->IoStatus.Status = STATUS_NO_MEMORY;
Irp->IoStatus.Information = 0;
IoCompleteRequest(Irp, IO_NO_INCREMENT);