Rémi Bernon (@rbernon) commented about dlls/windows.media.speech/recognizer.c:
error: if (session->constraints) IVector_ISpeechRecognitionConstraint_Release(session->constraints);
- DeleteCriticalSection(&session->cs);
You need to clear Spare[0] here too probably, or initialize the CS after any possible error.