projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a482e03
)
ir_to_mesa: Don't leak the whole linked assembly program.
author
Eric Anholt
<eric@anholt.net>
Wed, 18 Aug 2010 23:29:02 +0000
(16:29 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 18 Aug 2010 23:29:02 +0000
(16:29 -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 eb3be913e7f303507aca915e046967319ba3f367..b566706d72a2d3aafd8905dd2c82aa13d64089ec 100644
(file)
--- a/
src/mesa/program/ir_to_mesa.cpp
+++ b/
src/mesa/program/ir_to_mesa.cpp
@@
-2633,6
+2633,7
@@
_mesa_ir_link_shader(GLcontext *ctx, struct gl_shader_program *prog)
if (!ok) {
return GL_FALSE;
}
+ _mesa_reference_program(ctx, &linked_prog, NULL);
}
return GL_TRUE;