Robert Shearman : oleaut32:
Make sure to free the allocated vtable when the tmarshal proxy is
released .
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Sep 28 05:26:49 CDT 2006
Module: wine
Branch: master
Commit: cc21d235390fafed6333e4965709a8fd65bd9392
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=cc21d235390fafed6333e4965709a8fd65bd9392
Author: Robert Shearman <rob at codeweavers.com>
Date: Wed Sep 27 15:51:26 2006 +0100
oleaut32: Make sure to free the allocated vtable when the tmarshal proxy is released.
---
dlls/oleaut32/tmarshal.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c
index a9d0b32..9c4987f 100644
--- a/dlls/oleaut32/tmarshal.c
+++ b/dlls/oleaut32/tmarshal.c
@@ -416,6 +416,7 @@ TMProxyImpl_Release(LPRPCPROXYBUFFER ifa
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;
More information about the wine-cvs
mailing list