Jan Zerebecki : rsaenh: Add DebugInfo to critical sections.

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


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

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

rsaenh: Add DebugInfo to critical sections.

---

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

diff --git a/dlls/rsaenh/handle.c b/dlls/rsaenh/handle.c
index 1238651..1758391 100644
--- a/dlls/rsaenh/handle.c
+++ b/dlls/rsaenh/handle.c
@@ -58,6 +58,7 @@ void init_handle_table(HANDLETABLE *lpTable)
     lpTable->iEntries = 0;
     lpTable->iFirstFree = 0;
     InitializeCriticalSection(&lpTable->mutex);
+    lpTable->mutex.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": HANDLETABLE.mutex");
 }
 
 /******************************************************************************
@@ -76,6 +77,7 @@ void destroy_handle_table(HANDLETABLE *lpTable)
     TRACE("(lpTable=%p)\n", lpTable);
         
     HeapFree(GetProcessHeap(), 0, lpTable->paEntries);
+    lpTable->mutex.DebugInfo->Spare[0] = 0;
     DeleteCriticalSection(&lpTable->mutex);
 }
 




More information about the wine-cvs mailing list