Author: dgorbachev
Date: Fri May 25 21:10:11 2007
New Revision: 26893
URL:
http://svn.reactos.org/svn/reactos?rev=26893&view=rev
Log:
Do not free the string twice.
Modified:
trunk/reactos/ntoskrnl/io/iomgr/driver.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/driver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/driver.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/driver.c (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/driver.c Fri May 25 21:10:11 2007
@@ -79,12 +79,14 @@
ExFreePool(DriverObject->DriverName.Buffer);
}
+#if 0 /* See a bit of hack in IopCreateDriver */
/* Check if it has a service key name */
if (DriverObject->DriverExtension->ServiceKeyName.Buffer)
{
/* Free it */
ExFreePool(DriverObject->DriverExtension->ServiceKeyName.Buffer);
}
+#endif
}
NTSTATUS FASTCALL