Author: pschweitzer
Date: Thu Sep 3 12:57:04 2015
New Revision: 68934
URL:
http://svn.reactos.org/svn/reactos?rev=68934&view=rev
Log:
[NTFS]
Remove deadcode CID 1321946
Modified:
trunk/reactos/drivers/filesystems/ntfs/rw.c
Modified: trunk/reactos/drivers/filesystems/ntfs/rw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/r…
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/rw.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/ntfs/rw.c [iso-8859-1] Thu Sep 3 12:57:04 2015
@@ -75,10 +75,6 @@
if (FileRecord == NULL)
{
DPRINT1("Not enough memory!\n");
- if (AllocatedBuffer)
- {
- ExFreePoolWithTag(ReadBuffer, TAG_NTFS);
- }
return STATUS_INSUFFICIENT_RESOURCES;
}
@@ -87,10 +83,6 @@
{
DPRINT1("Can't find record!\n");
ExFreePoolWithTag(FileRecord, TAG_NTFS);
- if (AllocatedBuffer)
- {
- ExFreePoolWithTag(ReadBuffer, TAG_NTFS);
- }
return Status;
}