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

oleaut32: Fix a reference count leak of the TMarshalDispatchChannel.

parent 5d88c0cb
......@@ -471,7 +471,9 @@ TMProxyImpl_Connect(
HRESULT hr = TMarshalDispatchChannel_Create(pRpcChannelBuffer, &This->iid, &pDelegateChannel);
if (FAILED(hr))
return hr;
return IRpcProxyBuffer_Connect(This->dispatch_proxy, pDelegateChannel);
hr = IRpcProxyBuffer_Connect(This->dispatch_proxy, pDelegateChannel);
IRpcChannelBuffer_Release(pDelegateChannel);
return hr;
}
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