Nikolay Sivov (@nsivov) commented about dlls/mfmediaengine/main.c:
static void free_media_engine(struct media_engine *engine) {
- EnterCriticalSection(&engine->cs);
This helper is called when refcount is already 0, nothing else should be using it at this point.