Commit cc21d235 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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

parent 3721bf60
......@@ -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;
......
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