[ros-diffs] [dgorbachev] 26893: Do not free the string twice.
dgorbachev at svn.reactos.org
dgorbachev at svn.reactos.org
Fri May 25 19:10:12 CEST 2007
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?rev=26893&r1=26892&r2=26893&view=diff
==============================================================================
--- 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
More information about the Ros-diffs
mailing list