[PATCH] activeds: Implement AllocADsMem and FreeADsMem.

Dmitry Timoshkov dmitry at baikal.ru
Wed Feb 12 04:17:40 CST 2020


Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
 dlls/activeds/activeds_main.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/activeds/activeds_main.c b/dlls/activeds/activeds_main.c
index 69c5c447dc..1ac0add3db 100644
--- a/dlls/activeds/activeds_main.c
+++ b/dlls/activeds/activeds_main.c
@@ -141,8 +141,7 @@ HRESULT WINAPI ADsGetLastError(LPDWORD perror, LPWSTR errorbuf, DWORD errorbufle
  */
 LPVOID WINAPI AllocADsMem(DWORD cb)
 {
-    FIXME("(%d)!stub\n",cb);
-    return NULL;
+    return HeapAlloc(GetProcessHeap(), 0, cb);
 }
 
 /*****************************************************
@@ -150,8 +149,7 @@ LPVOID WINAPI AllocADsMem(DWORD cb)
  */
 BOOL WINAPI FreeADsMem(LPVOID pMem)
 {
-    FIXME("(%p)!stub\n",pMem);
-    return FALSE;
+    return HeapFree(GetProcessHeap(), 0, pMem);
 }
 
 /*****************************************************
-- 
2.20.1




More information about the wine-devel mailing list