Module: wine Branch: master Commit: 5152e737793f60ea045601f289f89111bcd71236 URL: https://gitlab.winehq.org/wine/wine/-/commit/5152e737793f60ea045601f289f8911...
Author: Paul Gofman pgofman@codeweavers.com Date: Mon Mar 4 10:37:29 2024 -0600
wmiutil: Force debug info in critical sections.
---
dlls/wmiutils/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wmiutils/path.c b/dlls/wmiutils/path.c index 48b79ccdb23..152f933e3a6 100644 --- a/dlls/wmiutils/path.c +++ b/dlls/wmiutils/path.c @@ -1282,7 +1282,7 @@ HRESULT WbemPath_create( LPVOID *ppObj )
path->IWbemPath_iface.lpVtbl = &path_vtbl; path->refs = 1; - InitializeCriticalSection( &path->cs ); + InitializeCriticalSectionEx( &path->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO ); path->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": wmiutils_path.cs"); init_path( path );