mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTFS] - Fix a bug with last commit, as spotted by Pierre.
svn path=/branches/GSoC_2016/NTFS/; revision=74525
This commit is contained in:
parent
c25b9747a1
commit
58402b6730
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ SetAttributeDataLength(PFILE_OBJECT FileObject,
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue