Browse Source

ir_to_mesa: Don't leak the whole linked assembly program.

tags/mesa-7.9-rc1
Eric Anholt 15 years ago
parent
commit
3cd233eb57
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/mesa/program/ir_to_mesa.cpp

+ 1
- 0
src/mesa/program/ir_to_mesa.cpp View File

@@ -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;

Loading…
Cancel
Save