31 Oct
2023
31 Oct
'23
8:29 p.m.
...it's just completely random which functions need FreeMediaType and which need DeleteMediaType, isn't it? At least it's documented.
The difference is that DeleteMediaType() also frees the AM_MEDIA_TYPE pointer. And yes, it's rather inconsistent, but at least it's documented (and usually predictable from the signature anyway). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3938#note_50392