8 Jul
2025
8 Jul
'25
7:49 a.m.
Rémi Bernon (@rbernon) commented about dlls/cfgmgr32/main.c:
+ *query = ctx; + return S_OK; +} + +static void device_query_context_addref( struct device_query_context *ctx ) +{ + InterlockedIncrement( &ctx->ref ); +} + +static void device_query_context_release( struct device_query_context *ctx ) +{ + if (!InterlockedDecrement( &ctx->ref )) + { + if (ctx->cs.DebugInfo) + ctx->cs.DebugInfo->Spare[0] = 0; + DeleteCriticalSection( &ctx->cs );
ctx->cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection( &ctx->cs );
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8478#note_109065