Mesa (master): glsl: Fix leak-causing typo in destructor that made it another constructor.
Eric Anholt
anholt at kemper.freedesktop.org
Wed Aug 18 23:31:04 UTC 2010
Module: Mesa
Branch: master
Commit: 4532feba14fcf4e39ea6e44dd2b6a290697bbd50
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4532feba14fcf4e39ea6e44dd2b6a290697bbd50
Author: Eric Anholt <eric at anholt.net>
Date: Wed Aug 18 15:59:31 2010 -0700
glsl: Fix leak-causing typo in destructor that made it another constructor.
---
src/glsl/ir_set_program_inouts.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/glsl/ir_set_program_inouts.cpp b/src/glsl/ir_set_program_inouts.cpp
index 6586377..534f602 100644
--- a/src/glsl/ir_set_program_inouts.cpp
+++ b/src/glsl/ir_set_program_inouts.cpp
@@ -51,7 +51,7 @@ public:
hash_table_pointer_hash,
hash_table_pointer_compare);
}
- ir_set_program_inouts_visitor()
+ ~ir_set_program_inouts_visitor()
{
hash_table_dtor(this->ht);
}
More information about the mesa-commit
mailing list