mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:33:01 +00:00
[FASTFAT]
vfatMakeFCBFromDirEntry(), use appropriate tag on free. Dedicated to Thomas :-) svn path=/trunk/; revision=73683
This commit is contained in:
parent
9ae2e91963
commit
bdabc81718
1 changed files with 2 additions and 2 deletions
|
@ -732,7 +732,7 @@ vfatMakeFCBFromDirEntry(
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
vfatReleaseFCB(vcb, rcFCB);
|
vfatReleaseFCB(vcb, rcFCB);
|
||||||
ExFreePool(NameU.Buffer);
|
ExFreePoolWithTag(NameU.Buffer, TAG_FCB);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -741,7 +741,7 @@ vfatMakeFCBFromDirEntry(
|
||||||
vfatAddFCBToTable(vcb, rcFCB);
|
vfatAddFCBToTable(vcb, rcFCB);
|
||||||
*fileFCB = rcFCB;
|
*fileFCB = rcFCB;
|
||||||
|
|
||||||
ExFreePool(NameU.Buffer);
|
ExFreePoolWithTag(NameU.Buffer, TAG_FCB);
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue