Module: wine Branch: master Commit: 67968b88057868ceecca4e5e52e014aeeb33fcb1 URL: https://source.winehq.org/git/wine.git/?a=commit;h=67968b88057868ceecca4e5e5...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Thu Apr 5 15:55:58 2018 +0800
netapi32: Properly implement NetApiBufferFree.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/netapi32/netapi32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/netapi32/netapi32.c b/dlls/netapi32/netapi32.c index 4c4333c..620df79 100644 --- a/dlls/netapi32/netapi32.c +++ b/dlls/netapi32/netapi32.c @@ -1204,7 +1204,7 @@ NET_API_STATUS WINAPI NetApiBufferAllocate(DWORD ByteCount, LPVOID* Buffer) NET_API_STATUS WINAPI NetApiBufferFree(LPVOID Buffer) { TRACE("(%p)\n", Buffer); - HeapFree(GetProcessHeap(), 0, Buffer); + MIDL_user_free(Buffer); return NERR_Success; }