projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feff7c6
)
i965/vs: Fix memory leak of ralloc context for the visitor.
author
Eric Anholt
<eric@anholt.net>
Tue, 16 Aug 2011 03:43:42 +0000
(20:43 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 16 Aug 2011 20:04:43 +0000
(13:04 -0700)
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 3ae89dfbc45a39ef4225901f42d3f4b42c3dbc6e..185a01e05f9965f38c99850494c516c53f5be203 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@
-2104,6
+2104,7
@@
vec4_visitor::vec4_visitor(struct brw_vs_compile *c,
vec4_visitor::~vec4_visitor()
{
+ ralloc_free(this->mem_ctx);
hash_table_dtor(this->variable_ht);
}