oleaut32: Make sure to free the allocated vtable when the tmarshal proxy is released.

This commit is contained in:
Robert Shearman 2006-09-27 15:51:26 +01:00 committed by Alexandre Julliard
parent 3721bf60bb
commit cc21d23539
1 changed files with 1 additions and 0 deletions

View File

@ -416,6 +416,7 @@ TMProxyImpl_Release(LPRPCPROXYBUFFER iface)
DeleteCriticalSection(&This->crit);
if (This->chanbuf) IRpcChannelBuffer_Release(This->chanbuf);
VirtualFree(This->asmstubs, 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, This->lpvtbl);
CoTaskMemFree(This);
}
return refCount;