projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b0f462
)
gallivm: fixed memory leak in lp_build_tgsi_aos
author
James Benton
<jbenton@vmware.com>
Tue, 1 May 2012 15:56:30 +0000
(16:56 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 2 May 2012 09:13:00 +0000
(10:13 +0100)
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
index 80c148124ee2daa9a96b899e1438e8cc13df37ae..19652d13f3cbe73b7b6140615e460e5922852501 100644
(file)
--- 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(