projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c25b974
)
[NTFS] - Fix a bug with last commit, as spotted by Pierre.
author
Trevor Thompson
<tmt256@email.vccs.edu>
Sat, 13 May 2017 09:17:06 +0000
(09:17 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sun, 10 Dec 2017 10:14:19 +0000
(11:14 +0100)
svn path=/branches/GSoC_2016/NTFS/; revision=74525
drivers/filesystems/ntfs/mft.c
patch
|
blob
|
history
diff --git
a/drivers/filesystems/ntfs/mft.c
b/drivers/filesystems/ntfs/mft.c
index
1e23675
..
4dba9c6
100644
(file)
--- a/
drivers/filesystems/ntfs/mft.c
+++ b/
drivers/filesystems/ntfs/mft.c
@@
-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;
}