Jan Zerebecki : oleaut32: Add DebugInfo to critical sections.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Mar 12 08:28:38 CDT 2007


Module: wine
Branch: master
Commit: 1e176b47399f70f74e5263ae59eaff4cac9aba8b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1e176b47399f70f74e5263ae59eaff4cac9aba8b

Author: Jan Zerebecki <jan.wine at zerebecki.de>
Date:   Sat Mar 10 22:09:58 2007 +0100

oleaut32: Add DebugInfo to critical sections.

---

 dlls/oleaut32/tmarshal.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c
index cf0df90..8e3b0bc 100644
--- a/dlls/oleaut32/tmarshal.c
+++ b/dlls/oleaut32/tmarshal.c
@@ -441,6 +441,7 @@ TMProxyImpl_Release(LPRPCPROXYBUFFER iface)
     if (!refCount)
     {
         if (This->dispatch_proxy) IRpcProxyBuffer_Release(This->dispatch_proxy);
+        This->crit.DebugInfo->Spare[0] = 0;
         DeleteCriticalSection(&This->crit);
         if (This->chanbuf) IRpcChannelBuffer_Release(This->chanbuf);
         VirtualFree(This->asmstubs, 0, MEM_RELEASE);
@@ -1679,6 +1680,7 @@ PSFacBuf_CreateProxy(
     proxy->chanbuf      = 0;
 
     InitializeCriticalSection(&proxy->crit);
+    proxy->crit.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": TMProxyImpl.crit");
 
     proxy->lpvtbl = HeapAlloc(GetProcessHeap(),0,sizeof(LPBYTE)*nroffuncs);
     for (i=0;i<nroffuncs;i++) {




More information about the wine-cvs mailing list