Skip to content
Snippets Groups Projects
Commit 6e303af5 authored by Elizabeth Figura's avatar Elizabeth Figura Committed by Alexandre Julliard
Browse files

vkd3d-shader/hlsl: Free the "iter" block pointer on success in create_loop().

Spotted by Giovanni Mascellani.
parent b0ac77b4
No related branches found
No related tags found
1 merge request!258hlsl: Replace bare list pointers with hlsl_block, part 2.
Pipeline #12149 skipped
......@@ -548,6 +548,7 @@ static struct hlsl_block *create_loop(struct hlsl_ctx *ctx, enum loop_type type,
destroy_block(cond);
destroy_block(body);
destroy_block(iter);
return init;
oom:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment