Module: wine Branch: master Commit: 0d51cce2fb6b5828b663805d72ed35d201c328e5 URL: https://gitlab.winehq.org/wine/wine/-/commit/0d51cce2fb6b5828b663805d72ed35d...
Author: Paul Gofman pgofman@codeweavers.com Date: Mon Feb 26 09:22:43 2024 -0600
wbemprox: Force debug info in critical sections.
---
dlls/wbemprox/services.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wbemprox/services.c b/dlls/wbemprox/services.c index 53b731d8b10..3b55a534de9 100644 --- a/dlls/wbemprox/services.c +++ b/dlls/wbemprox/services.c @@ -992,7 +992,7 @@ HRESULT WbemServices_create( const WCHAR *namespace, IWbemContext *context, LPVO ws->IWbemServices_iface.lpVtbl = &wbem_services_vtbl; ws->refs = 1; ws->ns = ns; - InitializeCriticalSection( &ws->cs ); + InitializeCriticalSectionEx( &ws->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO ); ws->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": wbemprox_services.cs"); if (context) IWbemContext_Clone( context, &ws->context );