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

This commit is contained in:
Eric Anholt
2010-08-18 16:29:02 -07:00
parent a482e03308
commit 3cd233eb57
+1
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;