Commit 67968b88 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

netapi32: Properly implement NetApiBufferFree.

parent 586a6228
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment