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:
Rob Shearman 2008-01-25 16:59:19 +00:00 committed by Alexandre Julliard
parent 0d2a623150
commit 29c06dff20
1 changed files with 1 additions and 0 deletions

View File

@ -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);