advapi32: Fix LsaQueryInformationPolicy HeapAlloc bug.

This commit is contained in:
Robert Reif 2006-07-11 19:52:57 -04:00 committed by Alexandre Julliard
parent 63cbb0cae3
commit 9733f6e75c
1 changed files with 1 additions and 1 deletions

View File

@ -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;