netapi32: Properly implement NetApiBufferFree.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2018-04-05 15:55:58 +08:00 committed by Alexandre Julliard
parent 586a622813
commit 67968b8805
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}