Jan Zerebecki : mapi32: Add DebugInfo to critical sections.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 12 08:28:36 CDT 2007
Module: wine
Branch: master
Commit: b06c08530f2a44a842178015c42be8e9a17716b1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b06c08530f2a44a842178015c42be8e9a17716b1
Author: Jan Zerebecki <jan.wine at zerebecki.de>
Date: Sat Mar 10 22:08:59 2007 +0100
mapi32: Add DebugInfo to critical sections.
---
dlls/mapi32/prop.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/mapi32/prop.c b/dlls/mapi32/prop.c
index 4f01682..3c0bd83 100644
--- a/dlls/mapi32/prop.c
+++ b/dlls/mapi32/prop.c
@@ -1553,6 +1553,7 @@ static inline ULONG WINAPI IMAPIProp_fnRelease(LPMAPIPROP iface)
This->lpFree(current->value);
This->lpFree(current);
}
+ This->cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&This->cs);
This->lpFree(This);
}
@@ -2543,6 +2544,7 @@ SCODE WINAPI CreateIProp(LPCIID iid, ALLOCATEBUFFER *lpAlloc,
lpPropData->ulNumValues = 0;
list_init(&lpPropData->values);
InitializeCriticalSection(&lpPropData->cs);
+ lpPropData->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": IPropDataImpl.cs");
*lppPropData = (LPPROPDATA)lpPropData;
}
return scode;
More information about the wine-cvs
mailing list