summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm
diff options
context:
space:
mode:
authorJames Benton <[email protected]>2012-05-01 16:56:30 +0100
committerJosé Fonseca <[email protected]>2012-05-02 10:13:00 +0100
commitc426e63aa064debc23f9819c3862f357f1726bce (patch)
tree525b13bf6de1680e312b054332ad27f88e7960b9 /src/gallium/auxiliary/gallivm
parent0b0f4628d6fb8276a9f1c336a785a838b602bca8 (diff)
gallivm: fixed memory leak in lp_build_tgsi_aos
Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
index 80c148124ee..19652d13f3c 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
@@ -1089,6 +1089,7 @@ lp_build_tgsi_aos(struct gallivm_state *gallivm,
debug_printf("2222222222222222222222222222 \n");
}
tgsi_parse_free(&parse);
+ FREE(bld.bld_base.instructions);
if (0) {
LLVMModuleRef module = LLVMGetGlobalParent(