projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b838464
)
ir_to_mesa: Fix leak by improper freeing of a uniform list.
author
Eric Anholt
<eric@anholt.net>
Thu, 19 Aug 2010 00:12:18 +0000
(17:12 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 19 Aug 2010 00:12:18 +0000
(17:12 -0700)
src/mesa/program/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/program/ir_to_mesa.cpp
b/src/mesa/program/ir_to_mesa.cpp
index b566706d72a2d3aafd8905dd2c82aa13d64089ec..7b0c28e5be1a286da88f7b7ec0ff69c756eac5bf 100644
(file)
--- a/
src/mesa/program/ir_to_mesa.cpp
+++ b/
src/mesa/program/ir_to_mesa.cpp
@@
-2743,7
+2743,7
@@
_mesa_glsl_link_shader(GLcontext *ctx, struct gl_shader_program *prog)
/* We don't use the linker's uniforms list, and cook up our own at
* generate time.
*/
-
free
(prog->Uniforms);
+
_mesa_free_uniform_list
(prog->Uniforms);
prog->Uniforms = _mesa_new_uniform_list();
}