[PATCH 7/7] netapi32: Properly implement NetApiBufferFree.
Dmitry Timoshkov
dmitry at baikal.ru
Thu Apr 5 02:55:58 CDT 2018
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
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 4c4333c57b..620df791b6 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;
}
--
2.16.3
More information about the wine-devel
mailing list