oleaut32: Make sure to free the allocated vtable when the tmarshal proxy is released.
This commit is contained in:
parent
3721bf60bb
commit
cc21d23539
|
@ -416,6 +416,7 @@ TMProxyImpl_Release(LPRPCPROXYBUFFER iface)
|
||||||
DeleteCriticalSection(&This->crit);
|
DeleteCriticalSection(&This->crit);
|
||||||
if (This->chanbuf) IRpcChannelBuffer_Release(This->chanbuf);
|
if (This->chanbuf) IRpcChannelBuffer_Release(This->chanbuf);
|
||||||
VirtualFree(This->asmstubs, 0, MEM_RELEASE);
|
VirtualFree(This->asmstubs, 0, MEM_RELEASE);
|
||||||
|
HeapFree(GetProcessHeap(), 0, This->lpvtbl);
|
||||||
CoTaskMemFree(This);
|
CoTaskMemFree(This);
|
||||||
}
|
}
|
||||||
return refCount;
|
return refCount;
|
||||||
|
|
Loading…
Reference in New Issue