mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
one more fix (on request of Pierre S.)
svn path=/trunk/; revision=48888
This commit is contained in:
parent
2a1e1c7eff
commit
cfb984e8bb
|
@ -683,15 +683,13 @@ ProcessLocaleRegistry(PGENERIC_LIST List)
|
||||||
REG_SZ,
|
REG_SZ,
|
||||||
(PVOID)(LanguageId + 4),
|
(PVOID)(LanguageId + 4),
|
||||||
8 * sizeof(PWCHAR));
|
8 * sizeof(PWCHAR));
|
||||||
|
NtClose(KeyHandle);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("NtSetValueKey() failed (Status %lx)\n", Status);
|
DPRINT1("NtSetValueKey() failed (Status %lx)\n", Status);
|
||||||
NtClose(KeyHandle);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
NtClose(KeyHandle);
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -990,14 +988,13 @@ SetGeoID(PWCHAR Id)
|
||||||
REG_SZ,
|
REG_SZ,
|
||||||
(PVOID)Id,
|
(PVOID)Id,
|
||||||
(wcslen(Id) + 1) * sizeof(WCHAR));
|
(wcslen(Id) + 1) * sizeof(WCHAR));
|
||||||
|
NtClose(KeyHandle);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("NtSetValueKey() failed (Status = %lx)\n", Status);
|
DPRINT1("NtSetValueKey() failed (Status = %lx)\n", Status);
|
||||||
NtClose(KeyHandle);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
NtClose(KeyHandle);
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue