From cfd121072c23f4b46baaa1ecb318ab422edefbba Mon Sep 17 00:00:00 2001 From: Jan Zerebecki Date: Sat, 10 Mar 2007 22:10:52 +0100 Subject: [PATCH] urlmon: Add DebugInfo to critical sections. --- dlls/urlmon/binding.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/urlmon/binding.c b/dlls/urlmon/binding.c index bd4a4479eca..cd82eb99fd6 100644 --- a/dlls/urlmon/binding.c +++ b/dlls/urlmon/binding.c @@ -604,6 +604,7 @@ static ULONG WINAPI Binding_Release(IBinding *iface) IStream_Release(STREAM(This->stream)); ReleaseBindInfo(&This->bindinfo); + This->section.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&This->section); HeapFree(GetProcessHeap(), 0, This->mime); HeapFree(GetProcessHeap(), 0, This->url); @@ -1220,6 +1221,7 @@ static HRESULT Binding_Create(LPCWSTR url, IBindCtx *pbc, REFIID riid, Binding * ret->bindf = 0; InitializeCriticalSection(&ret->section); + ret->section.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": Binding.section"); hres = get_callback(pbc, &ret->callback); if(FAILED(hres)) {