From aa167f92d7b1204e8ffda07b21cddc59ddb2e095 Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Tue, 26 Aug 2014 16:13:06 +0200 Subject: [PATCH] d3dcompiler: Free the relative addressing data of destination registers (Valgrind). --- dlls/d3dcompiler_43/bytecodewriter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/d3dcompiler_43/bytecodewriter.c b/dlls/d3dcompiler_43/bytecodewriter.c index 17289d230b6..46187f90163 100644 --- a/dlls/d3dcompiler_43/bytecodewriter.c +++ b/dlls/d3dcompiler_43/bytecodewriter.c @@ -2622,6 +2622,7 @@ void SlDeleteShader(struct bwriter_shader *shader) { d3dcompiler_free(shader->instr[i]->src[j].rel_reg); } d3dcompiler_free(shader->instr[i]->src); + d3dcompiler_free(shader->instr[i]->dst.rel_reg); d3dcompiler_free(shader->instr[i]); } d3dcompiler_free(shader->instr); -- 2.11.4.GIT