Commit 9733f6e7 authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

advapi32: Fix LsaQueryInformationPolicy HeapAlloc bug.

parent 63cbb0ca
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment