mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
bug fix with file object's name being freed but the pointer not NULLed
svn path=/trunk/; revision=871
This commit is contained in:
parent
4c2f15bfb9
commit
33009b967e
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ VOID IopDeleteFile(PVOID ObjectBody)
|
||||||
if (FileObject->FileName.Buffer != NULL)
|
if (FileObject->FileName.Buffer != NULL)
|
||||||
{
|
{
|
||||||
ExFreePool(FileObject->FileName.Buffer);
|
ExFreePool(FileObject->FileName.Buffer);
|
||||||
|
FileObject->FileName.Buffer = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue