Fix memory leak.

This commit is contained in:
Alan Hourihane 2009-11-20 18:08:29 +00:00
parent 8556fad751
commit 1dbf3642b9

View file

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