mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +00:00
Do not free the string twice.
svn path=/trunk/; revision=26893
This commit is contained in:
parent
5f53b128c9
commit
0f337a24cb
1 changed files with 2 additions and 0 deletions
|
@ -79,12 +79,14 @@ IopDeleteDriver(IN PVOID ObjectBody)
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue