Commit b06c0853 authored by Jan Zerebecki's avatar Jan Zerebecki Committed by Alexandre Julliard

mapi32: Add DebugInfo to critical sections.

parent e8956eb4
...@@ -1553,6 +1553,7 @@ static inline ULONG WINAPI IMAPIProp_fnRelease(LPMAPIPROP iface) ...@@ -1553,6 +1553,7 @@ static inline ULONG WINAPI IMAPIProp_fnRelease(LPMAPIPROP iface)
This->lpFree(current->value); This->lpFree(current->value);
This->lpFree(current); This->lpFree(current);
} }
This->cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&This->cs); DeleteCriticalSection(&This->cs);
This->lpFree(This); This->lpFree(This);
} }
...@@ -2543,6 +2544,7 @@ SCODE WINAPI CreateIProp(LPCIID iid, ALLOCATEBUFFER *lpAlloc, ...@@ -2543,6 +2544,7 @@ SCODE WINAPI CreateIProp(LPCIID iid, ALLOCATEBUFFER *lpAlloc,
lpPropData->ulNumValues = 0; lpPropData->ulNumValues = 0;
list_init(&lpPropData->values); list_init(&lpPropData->values);
InitializeCriticalSection(&lpPropData->cs); InitializeCriticalSection(&lpPropData->cs);
lpPropData->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": IPropDataImpl.cs");
*lppPropData = (LPPROPDATA)lpPropData; *lppPropData = (LPPROPDATA)lpPropData;
} }
return scode; return scode;
......
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