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 );
```suggestion:-2+0 ctx->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection( &ctx->cs ); ```