oleaut32: Fix big memory leak in xCall.
Call IRpcChannelBuffer_FreeBuffer to free the buffer and other resources allocated by IRpcChannelBuffer_GetBuffer and IRpcChannelBuffer_SendReceive.
This commit is contained in:
parent
0d2a623150
commit
29c06dff20
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue