Author: tthompson
Date: Sat May 13 09:17:06 2017
New Revision: 74525
URL:
http://svn.reactos.org/svn/reactos?rev=74525&view=rev
Log:
[NTFS] - Fix a bug with last commit, as spotted by Pierre.
Modified:
branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/mft.c
Modified: branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/mft.c
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2016/NTFS/drivers/filesyst…
==============================================================================
--- branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/mft.c [iso-8859-1] (original)
+++ branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/mft.c [iso-8859-1] Sat May 13
09:17:06 2017
@@ -437,7 +437,7 @@
if (!NT_SUCCESS(Status))
{
DPRINT1("ERROR: Unable to migrate resident
attribute!\n");
- if(AttribData != NULL)
+ if (AttribDataSize.QuadPart > 0)
ExFreePoolWithTag(AttribData, TAG_NTFS);
return Status;
}