Nikolay Sivov (@nsivov) commented about dlls/mfplat/tests/mfplat.c:
break; }
IMFMediaEvent_Release(callback->media_event);
}callback->media_event = NULL;
This is fixing the leak of "unexpected" events that happened before the one we are checking for, right?