d3dcompiler: Free the relative addressing data of destination registers (Valgrind).

This commit is contained in:
Matteo Bruni 2014-08-26 16:13:06 +02:00 committed by Alexandre Julliard
parent e404d1ed86
commit aa167f92d7

View file

@ -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);