diff --git a/reactos/dll/win32/lsasrv/authpackage.c b/reactos/dll/win32/lsasrv/authpackage.c index cd150451cb9..0858601046d 100644 --- a/reactos/dll/win32/lsasrv/authpackage.c +++ b/reactos/dll/win32/lsasrv/authpackage.c @@ -360,25 +360,27 @@ LsapGetAuthenticationPackage(IN ULONG PackageId) } -static PVOID NTAPI LsapAllocateHeap(IN ULONG Length) { - return RtlAllocateHeap(RtlGetProcessHeap(), - HEAP_ZERO_MEMORY, - Length); + return RtlAllocateHeap(RtlGetProcessHeap(), 0, Length); +} + + +PVOID +NTAPI +LsapAllocateHeapZero(IN ULONG Length) +{ + return RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, Length); } -static VOID NTAPI LsapFreeHeap(IN PVOID Base) { - RtlFreeHeap(RtlGetProcessHeap(), - 0, - Base); + RtlFreeHeap(RtlGetProcessHeap(), 0, Base); } diff --git a/reactos/dll/win32/lsasrv/lsasrv.spec b/reactos/dll/win32/lsasrv/lsasrv.spec index 4a261dae2d4..e5ff74735d1 100644 --- a/reactos/dll/win32/lsasrv/lsasrv.spec +++ b/reactos/dll/win32/lsasrv/lsasrv.spec @@ -4,8 +4,8 @@ @ stub DsRolerGetDcOperationProgress @ stub DsRolerGetDcOperationResults @ stub LsaIAddNameToLogonSession -@ stub LsaIAllocateHeap -@ stub LsaIAllocateHeapZero +@ stdcall LsaIAllocateHeap(long) LsapAllocateHeap +@ stdcall LsaIAllocateHeapZero(long) LsapAllocateHeapZero @ stub LsaIAuditAccountLogon @ stub LsaIAuditAccountLogonEx @ stub LsaIAuditKdcEvent @@ -27,7 +27,7 @@ @ stub LsaIFilterSids @ stub LsaIForestTrustFindMatch @ stub LsaIFreeForestTrustInfo -@ stub LsaIFreeHeap +@ stdcall LsaIFreeHeap(ptr) LsapFreeHeap @ stub LsaIFreeReturnBuffer @ stub LsaIFree_LSAI_PRIVATE_DATA #DATA @ stub LsaIFree_LSAI_SECRET_ENUM_BUFFER