Module: vkd3d Branch: master Commit: 2359ebc976c0882092825c5ddac757dd138fe48c URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/2359ebc976c0882092825c5ddac757...
Author: Giovanni Mascellani gmascellani@codeweavers.com Date: Thu Feb 1 12:56:27 2024 +0100
tests: Release the code blob in test_thread_id() (Valgrind).
---
tests/hlsl_d3d12.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/tests/hlsl_d3d12.c b/tests/hlsl_d3d12.c index 28007e3a..b2273ffb 100644 --- a/tests/hlsl_d3d12.c +++ b/tests/hlsl_d3d12.c @@ -525,6 +525,7 @@ static void test_thread_id(void) cs_code = compile_shader(cs_source, "cs_5_0"); context.pipeline_state = create_compute_pipeline_state(device, context.root_signature, shader_bytecode(ID3D10Blob_GetBufferPointer(cs_code), ID3D10Blob_GetBufferSize(cs_code))); + ID3D10Blob_Release(cs_code);
ID3D12GraphicsCommandList_SetPipelineState(command_list, context.pipeline_state); ID3D12GraphicsCommandList_SetComputeRootSignature(command_list, context.root_signature);