We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 007d3d3 commit 849fa7fCopy full SHA for 849fa7f
drivers/filesystems/ntfs/mft.c
@@ -105,13 +105,15 @@ PrepareAttributeContext(PNTFS_ATTR_RECORD AttrRecord)
105
VOID
106
ReleaseAttributeContext(PNTFS_ATTR_CONTEXT Context)
107
{
108
- if (Context->pRecord->IsNonResident)
+ if (Context->pRecord)
109
110
- FsRtlUninitializeLargeMcb(&Context->DataRunsMCB);
111
- }
+ if (Context->pRecord->IsNonResident)
+ {
112
+ FsRtlUninitializeLargeMcb(&Context->DataRunsMCB);
113
+ }
114
- if(Context->pRecord)
115
ExFreePoolWithTag(Context->pRecord, TAG_NTFS);
116
117
118
ExFreePoolWithTag(Context, TAG_NTFS);
119
}
0 commit comments