Commit b1bfad06 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

ole32: Fix a memory leak on the error path of dispatch_rpc.

parent 7f715458
......@@ -547,6 +547,7 @@ static void __RPC_STUB dispatch_rpc(RPC_MESSAGE *msg)
if (hr != S_OK)
{
ERR("no apartment found for ipid %s\n", debugstr_guid(&ipid));
HeapFree(GetProcessHeap(), 0, params);
return RpcRaiseException(hr);
}
......
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