Commit 9af935a5 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

compobj: Reference the returned IMalloc pointer in CoGetMalloc().

parent 588af8ca
......@@ -275,7 +275,7 @@ DWORD WINAPI CoBuildVersion16(void)
*/
HRESULT WINAPI CoGetMalloc16(MEMCTX context, SEGPTR *malloc)
{
*malloc = compobj_malloc;
call_IMalloc_AddRef(*malloc = compobj_malloc);
return S_OK;
}
......
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