mesa: Free the util shaders with the gallium's FREE.

This commit is contained in:
José Fonseca
2009-02-19 13:02:47 +00:00
parent b9c5e41688
commit 85b0c171c0
5 changed files with 15 additions and 3 deletions

View File

@@ -313,7 +313,7 @@ get_passthrough_fs(struct st_context *st)
st->passthrough_fs =
util_make_fragment_passthrough_shader(st->pipe, &shader);
#if 0 /* We actually need to keep the tokens around at this time */
_mesa_free((void *) shader.tokens);
util_free_shader(&shader);
#endif
}