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

vkd3d-shader/hlsl: Free the constant defs array in hlsl_ctx_cleanup().

Spotted by Francisco Casas.
parent 63631a8f
No related branches found
No related tags found
1 merge request!276vkd3d-shader/hlsl: Free the constant defs array in hlsl_ctx_cleanup().
Pipeline #12645 skipped
......@@ -3380,6 +3380,8 @@ static void hlsl_ctx_cleanup(struct hlsl_ctx *ctx)
vkd3d_free((void *)buffer->name);
vkd3d_free(buffer);
}
vkd3d_free(ctx->constant_defs.regs);
}
int hlsl_compile_shader(const struct vkd3d_shader_code *hlsl, const struct vkd3d_shader_compile_info *compile_info,
......
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