mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fixe use of memory after it had been free'd.
svn path=/trunk/; revision=13272
This commit is contained in:
parent
b0fc9bcff6
commit
c819a16600
1 changed files with 1 additions and 1 deletions
|
@ -119,8 +119,8 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
|||
if (End != NULL)
|
||||
{
|
||||
ObDereferenceObject(Object);
|
||||
RtlFreeUnicodeString(&RemainingPath);
|
||||
DPRINT1("NtCreateKey() can't create trees! (found \'\\\' in remaining path: \"%wZ\"!)\n", &RemainingPath);
|
||||
RtlFreeUnicodeString(&RemainingPath);
|
||||
return STATUS_OBJECT_NAME_NOT_FOUND;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue