advapi32: Fix LsaQueryInformationPolicy HeapAlloc bug.
This commit is contained in:
parent
63cbb0cae3
commit
9733f6e75c
|
@ -421,7 +421,7 @@ NTSTATUS WINAPI LsaQueryInformationPolicy(
|
|||
|
||||
SID_IDENTIFIER_AUTHORITY localSidAuthority = {SECURITY_NT_AUTHORITY};
|
||||
|
||||
struct di * xdi = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(xdi));
|
||||
struct di * xdi = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*xdi));
|
||||
HKEY key;
|
||||
BOOL useDefault = TRUE;
|
||||
LONG ret;
|
||||
|
|
Loading…
Reference in New Issue