April 17, 2026
1:45 p.m.
On Thu Apr 16 22:14:31 2026 +0000, Matteo Bruni wrote:
It's probably not a big deal, but this is missing the matching `CoUninitialize()` at the end (I'm genuinely not sure but all the preexisting instances do have it). I _think_ it became convention because it's necessary for formats that use WIC. I've had cases where I forgot to do `CoInitialize()`, added some tests and got random unexpected failures. Either way, I've added a `CoUninitialize()` to the end of this function (and also a missing `ID3D10Device_Release()`) :)
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10513#note_136754