Fix memory leak.

This commit is contained in:
Alan Hourihane
2009-11-20 18:08:29 +00:00
parent 08e5d1ecad
commit a24631bcd7
@@ -143,6 +143,7 @@ softpipe_delete_vs_state(struct pipe_context *pipe, void *vs)
struct sp_vertex_shader *state = (struct sp_vertex_shader *) vs;
draw_delete_vertex_shader(softpipe->draw, state->draw_data);
FREE( (void *)state->shader.tokens );
FREE( state );
}