ole32: Fix a memory leak on the error path of dispatch_rpc.
This commit is contained in:
parent
7f71545835
commit
b1bfad067b
|
@ -547,6 +547,7 @@ static void __RPC_STUB dispatch_rpc(RPC_MESSAGE *msg)
|
||||||
if (hr != S_OK)
|
if (hr != S_OK)
|
||||||
{
|
{
|
||||||
ERR("no apartment found for ipid %s\n", debugstr_guid(&ipid));
|
ERR("no apartment found for ipid %s\n", debugstr_guid(&ipid));
|
||||||
|
HeapFree(GetProcessHeap(), 0, params);
|
||||||
return RpcRaiseException(hr);
|
return RpcRaiseException(hr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue