summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-08-15 20:43:42 -0700
committerEric Anholt <[email protected]>2011-08-16 13:04:43 -0700
commite9a86ae3370948acb1276e80fbbc421d7025db36 (patch)
tree7228847385cbc63625aa7ec9e1c74a3c9adb37d1 /src
parentfeff7c62ce446f4e3bb755a2f40dcbd0e70155e4 (diff)
i965/vs: Fix memory leak of ralloc context for the visitor.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 3ae89dfbc45..185a01e05f9 100644
--- 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);
}