bug fix with file object's name being freed but the pointer not NULLed

svn path=/trunk/; revision=871
This commit is contained in:
Phillip Susi 1999-12-14 18:32:38 +00:00
parent 4c2f15bfb9
commit 33009b967e

View file

@ -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;
} }
} }