Author: pschweitzer
Date: Tue Aug 18 20:17:19 2015
New Revision: 68756
URL:
http://svn.reactos.org/svn/reactos?rev=68756&view=rev
Log:
[NTOSKRNL]
Don't enforce IO tag when freeing file object name, it might have been reallocated by
a driver for an Ob reparse
Modified:
trunk/reactos/ntoskrnl/io/iomgr/file.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/file.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/file.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/file.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/file.c [iso-8859-1] Tue Aug 18 20:17:19 2015
@@ -1002,7 +1002,7 @@
if (FileObject->FileName.Length)
{
/* Free it */
- ExFreePoolWithTag(FileObject->FileName.Buffer, TAG_IO_NAME);
+ ExFreePoolWithTag(FileObject->FileName.Buffer, 0);
FileObject->FileName.Length = 0;
}