1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

d3d11/tests: Fix typos in a test cleanup (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov 2023-08-02 20:35:38 +02:00 committed by Alexandre Julliard
parent 468ace0c50
commit f7157408f2

View file

@ -35093,9 +35093,9 @@ static void test_shared_resource(D3D_FEATURE_LEVEL feature_level)
test_done:
if (keyed_mutex)
IDXGIKeyedMutex_Release(keyed_mutex);
if (tex)
IDXGIResource_Release(res);
if (res)
IDXGIResource_Release(res);
if (tex)
ID3D11Texture2D_Release(tex);
if (res1)
IDXGIResource1_Release(res1);