summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-01-12 12:59:15 -0800
committerIan Romanick <[email protected]>2012-01-24 15:39:46 -0800
commitdecf80c621af1e5ce8c923bf073802e0e23b0662 (patch)
treeab9fee56b03e2fad035edbcffc4ef08ac4a33439 /src/mesa/drivers/dri/i965
parent812a8eade5f8e25bdbea95d7c1e6e8b42af07d79 (diff)
i965/vs: Fix leak of an empty hash_table structure per compile.
This statement got duplicated above, probably in a rebase resolution, so we never freed the extra one. NOTE: This is a candidate for the 8.0 branch. (cherry picked from commit 7f278e15ad271daaa08dd2fef84cca5e344d5771)
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 5df2470dc1b..ecabcc81e9e 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@ -2601,10 +2601,6 @@ vec4_visitor::vec4_visitor(struct brw_vs_compile *c,
this->live_intervals_valid = false;
this->uniforms = 0;
-
- this->variable_ht = hash_table_ctor(0,
- hash_table_pointer_hash,
- hash_table_pointer_compare);
}
vec4_visitor::~vec4_visitor()