Rémi Bernon (@rbernon) commented about dlls/windows.media.speech/recognizer.c:
error: if (session->constraints) IVector_ISpeechRecognitionConstraint_Release(session->constraints);
- if (session->cs.DebugInfo) session->cs.DebugInfo->Spare[0] = 0;
- DeleteCriticalSection(&session->cs);
You could avoid having to do this (and the question whether calling `DeleteCriticalSection` on a non-yet initialized CS is fine) by moving `InitializeCriticalSection` down where it cannot fail anymore.