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

secur32: Add DebugInfo to critical sections.

parent b5619e86
......@@ -543,6 +543,7 @@ static void SECUR32_initializeProviders(void)
TRACE("\n");
InitializeCriticalSection(&cs);
cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
/* First load built-in providers */
SECUR32_initSchannelSP();
/* Do not load Negotiate yet. This breaks for some user on the wine-users
......@@ -684,6 +685,7 @@ static void SECUR32_freeProviders(void)
}
LeaveCriticalSection(&cs);
cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&cs);
}
......
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