From 508322a8bf905b79cecafd77a7a31e8d76037147 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Tue, 4 Aug 2009 12:22:29 +0200 Subject: [PATCH] advapi32: LsaFreeMemory returns NTSTATUS. --- dlls/advapi32/lsa.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/advapi32/lsa.c b/dlls/advapi32/lsa.c index 315cce99237..ffc7cfd4968 100644 --- a/dlls/advapi32/lsa.c +++ b/dlls/advapi32/lsa.c @@ -264,7 +264,9 @@ NTSTATUS WINAPI LsaEnumerateTrustedDomainsEx( NTSTATUS WINAPI LsaFreeMemory(IN PVOID Buffer) { TRACE("(%p)\n", Buffer); - return HeapFree(GetProcessHeap(), 0, Buffer); + + HeapFree(GetProcessHeap(), 0, Buffer); + return STATUS_SUCCESS; } /******************************************************************************