[FASTFAT]

vfatMakeFCBFromDirEntry(), use appropriate tag on free.
Dedicated to Thomas :-)

svn path=/trunk/; revision=73683
This commit is contained in:
Pierre Schweitzer 2017-02-04 19:37:40 +00:00
parent 9ae2e91963
commit bdabc81718

View file

@ -732,7 +732,7 @@ vfatMakeFCBFromDirEntry(
if (!NT_SUCCESS(Status))
{
vfatReleaseFCB(vcb, rcFCB);
ExFreePool(NameU.Buffer);
ExFreePoolWithTag(NameU.Buffer, TAG_FCB);
return Status;
}
}
@ -741,7 +741,7 @@ vfatMakeFCBFromDirEntry(
vfatAddFCBToTable(vcb, rcFCB);
*fileFCB = rcFCB;
ExFreePool(NameU.Buffer);
ExFreePoolWithTag(NameU.Buffer, TAG_FCB);
return STATUS_SUCCESS;
}