--
v2: d3d11/tests: Teste UpdateSubresource() for NV12 textures.
d3d11/tests: Test without render target.
tests/d3d11: Do not check pitches.
d3d11/tests: Mark NV12 textures as broken on Windows 7.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5818
If the malloc(3) had failed to allocate the memory, it returned nonzero
value, but the 'file' handle was kept open. This closes the handle
before return from the `init_xdg_dirs()` if the malloc(3) has failed.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5827