Commit 29c06dff authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

oleaut32: Fix big memory leak in xCall.

Call IRpcChannelBuffer_FreeBuffer to free the buffer and other resources allocated by IRpcChannelBuffer_GetBuffer and IRpcChannelBuffer_SendReceive.
parent 0d2a6231
......@@ -1468,6 +1468,7 @@ xCall(LPVOID retptr, int method, TMProxyImpl *tpinfo /*, args */)
hres = remoteresult;
exit:
IRpcChannelBuffer_FreeBuffer(chanbuf,&msg);
for (i = 0; i < nrofnames; i++)
SysFreeString(names[i]);
HeapFree(GetProcessHeap(),0,buf.base);
......
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