Anton Baskanov (@baskanov) commented about dlls/amstream/tests/amstream.c:
mem_allocator = NULL; hr = IMemInputPin_GetAllocator(mem_input, &mem_allocator); - todo_wine ok(hr == S_OK, "Got hr %#lx.\n", hr); - todo_wine ok (mem_allocator == ddraw_allocator, "Expected GetAllocator to return ddraw allocator.\n"); + ok(hr == S_OK, "Got hr %#lx.\n", hr); + + if (mem_allocator) + IMemAllocator_Release(mem_allocator); + + hr = IDirectDrawMediaStream_QueryInterface(ddraw_stream, &IID_IMemAllocator, (void**)&mem_allocator); + ok(hr == S_OK, "Got hr %#lx.\n", hr); + + hr = IMemAllocator_GetProperties(mem_allocator, &props); + ok(hr == S_OK, "Got hr %#lx.\n", hr);
Why not add this check to the previous commit with `todo_wine`? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7715#note_99680