v3: Use `malloc` / `free` for the `WM_MEDIA_TYPE` buffer, `DeleteMediaType` would otherwise try to free invalid `pbFormat` pointer. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/140#note_1263