From 33009b967ef96a7173c4a37b6669ee75d6b1e52e Mon Sep 17 00:00:00 2001 From: Phillip Susi Date: Tue, 14 Dec 1999 18:32:38 +0000 Subject: [PATCH] bug fix with file object's name being freed but the pointer not NULLed svn path=/trunk/; revision=871 --- reactos/ntoskrnl/io/iomgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/ntoskrnl/io/iomgr.c b/reactos/ntoskrnl/io/iomgr.c index 4ecd84293ac..3110117fcb2 100644 --- a/reactos/ntoskrnl/io/iomgr.c +++ b/reactos/ntoskrnl/io/iomgr.c @@ -85,6 +85,7 @@ VOID IopDeleteFile(PVOID ObjectBody) if (FileObject->FileName.Buffer != NULL) { ExFreePool(FileObject->FileName.Buffer); + FileObject->FileName.Buffer = 0; } }