Module: wine Branch: master Commit: aa167f92d7b1204e8ffda07b21cddc59ddb2e095 URL: http://source.winehq.org/git/wine.git/?a=commit;h=aa167f92d7b1204e8ffda07b21... Author: Matteo Bruni <mbruni(a)codeweavers.com> Date: Tue Aug 26 16:13:06 2014 +0200 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 17289d2..46187f9 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);