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:
parent
586a622813
commit
67968b8805
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue